Skip to main content

Python SDK for the YooniK Face API.

Project description

https://yoonik.me/wp-content/uploads/2019/08/cropped-LogoV4_TRANSPARENT.png

YooniK Face API: Python SDK & Sample

PyPi Version License

This repository contains the Python SDK for the YooniK Face API, an offering within YooniK Services

For more information please contact us.

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 = 'YooniK Face API URL'  # Replace with a valid URL for YooniK Face 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.

Project details


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.1.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yk_face-0.1.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file yk_face-0.1.2.tar.gz.

File metadata

  • Download URL: yk_face-0.1.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.5

File hashes

Hashes for yk_face-0.1.2.tar.gz
Algorithm Hash digest
SHA256 137b4ba20c705d92e60c39b5b807b03b7936d8b6c48de2c61e5f1c0f94781c1a
MD5 91fe92ac3105610bc646f70580a14f41
BLAKE2b-256 30897b00cb44e9dcf250af8108bf6867e10879cc0ab94ae6ad1fa28a86a10721

See more details on using hashes here.

File details

Details for the file yk_face-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: yk_face-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.5

File hashes

Hashes for yk_face-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1c0d56d72d9a059a0f48cd2a9334d1df4095082f86c53ada791565c4f5d2b237
MD5 f308395cf0abebcf68c879c6462f1850
BLAKE2b-256 95cfb2874697a46e28c91454a12538e352332e20fcc5770738474a014389ee6d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page