Python SDK for the YouFace API.
Project description
YouFace API: Python SDK & Sample
This repository contains the Python SDK for the YouFace API, an offering within Youverse Services
Getting started
Install the module using pip:
pip install yk_face
Use it:
import yk_face as YKF
KEY = 'subscription key' # Replace with a valid Subscription Key here.
YKF.Key.set(KEY)
BASE_URL = 'YouFace API URL' # Replace with a valid URL for YouFace API.
YKF.BaseUrl.set(BASE_URL)
img_file_path = 'image path' # Replace with a valid image file path here.
detected_faces = YKF.face.process(img_file_path)
print(f'Detected faces: {detected_faces}')
Installing from the source code
python setup.py install
Running the sample
A sample python script is also provided. Please check the sample directory in this repository.
YouFace API Details
For a complete specification of our Face API please check the swagger file.
Contact & Support
For more information and trial licenses please contact us or join us at our discord community.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yk_face-0.3.3.tar.gz
(8.0 kB
view hashes)