Skip to main content

No project description provided

Project description

Access Client

Python client to interact with acessai's various applications/services like access-face-vision


pip install access-cleint


from access_client.face_vision.client import AFV

#instantiate by giving the host and port of the access-face-vision server
afv = AFV("http://localhost:5001")

Now we need to create a face-group. This is will be our face-index.


#Pass in the directory and face group name
afv.add_faces_to_face_group(dir="./samples/celebrities", face_group="celebrities")

# Directory structure
# **/Images/
#          A/
#           A_K_01.jpg
#           A_K_02.jpg
#          B/
#           B_S_01.jpg
#           B_S_02.jpg

Once faces are indexed we can run inference on it.

afv.parse(img_path="./samples/celebrities/Bill Gates/Bill_Gates.jpg", face_group="celebrities")

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for access-client, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size access-client-0.0.1.tar.gz (7.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page