AnyMotion SDK for Python
Project description
AnyMotion Python SDK
AnyMotion SDK for Python.
Installation
Install using pip:
$ pip install anymotion-sdk
Usage
Set the client id and client secret issued by the AnyMotion Portal.
from anymotion_sdk import Client
# Setup client
client = Client(client_id="your_client_id", client_secret="your_client_secret")
# Upload image file
upload_result = client.upload("image.jpg")
# Extract keypoint
keypoint_id = client.extract_keypoint(image_id=upload_result.image_id)
extraction_result = client.wait_for_extraction(keypoint_id)
# Get keypoint data from result
keypoint = extraction_result.json
# Get keypoint data from keypoint_id
keypoint = client.get_keypoint(keypoint_id)
Change Log
See CHANGELOG.md.
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
anymotion-sdk-1.0.0.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for anymotion_sdk-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7681cdc2e001887d4bcc5b06f80211cd0ecdc77a44c31424cce421c34f05c02e |
|
MD5 | a242ccd13aa11a7bccb3f0fb26c772a6 |
|
BLAKE2b-256 | 4b3d5a8850de7c10516327c8bfc39b6202ad663cdae0be1e21ef1ee6d1d66804 |