GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - admdev8/vws-python: Python wrapper for Vuforia Web Services (VWS) API

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

4,291 Commits
4,291 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
admin
admin
 
 
docs
docs
 
 
src/vws
src/vws
 
 
tests
tests
 
 
.git_archival.txt
.git_archival.txt
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CHANGELOG.rst
CHANGELOG.rst
 
 
CODE_OF_CONDUCT.rst
CODE_OF_CONDUCT.rst
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
Makefile
Makefile
 
 
README.rst
README.rst
 
 
codecov.yaml
codecov.yaml
 
 
dev-requirements.txt
dev-requirements.txt
 
 
lint.mk
lint.mk
 
 
pyproject.toml
pyproject.toml
 
 
readthedocs.yaml
readthedocs.yaml
 
 
requirements.txt
requirements.txt
 
 
setup-requirements.txt
setup-requirements.txt
 
 
setup.cfg
setup.cfg
 
 
setup.py
setup.py
 
 
spelling_private_dict.txt
spelling_private_dict.txt
 
 

Repository files navigation

Build Status codecov PyPI Documentation Status

vws-python

Python library for the Vuforia Web Services (VWS) API and the Vuforia Web Query API.

Installation

pip install vws-python

This is tested on Python 3.8+. Get in touch with [email protected] if you would like to use this with another language.

Getting Started

import io

from vws import VWS, CloudRecoService

server_access_key = '[server-access-key]'
server_secret_key = '[server-secret-key]'
client_access_key = '[client-access-key]'
client_secret_key = '[client-secret-key]'

vws_client = VWS(
    server_access_key=server_access_key,
    server_secret_key=server_secret_key,
)
cloud_reco_client = CloudRecoService(
    client_access_key=client_access_key,
    client_secret_key=client_secret_key,
)
name = 'my_image_name'

with open('/path/to/image.png', 'rb') as my_image_file:
   my_image = io.BytesIO(my_image_file.read())

target_id = vws_client.add_target(
    name=name,
    width=1,
    image=my_image,
    active_flag=True,
    application_metadata=None,
)
vws_client.wait_for_target_processed(target_id=target_id)
matching_targets = cloud_reco_client.query(image=my_image)

assert matching_targets[0].target_id == target_id

Full Documentation

See the full documentation.

About

Python wrapper for Vuforia Web Services (VWS) API

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.