cloudlabeling API
Project description
Cloudlabeling API
conda create -n cloudlabeling python pip
conda activate cloudlabeling
pip install cloudlabeling
How to use (Python)
from cloudlabeling import cloudlabeling
cloud_labeler = cloudlabeling.CloudLabeling()
results = cloud_labeler.infer_remotely(image_path, project_id="MSCOCO")
Results output in JSON format
{
"detection":[ # list of detections
{
"box":[
268.44647216796875, # x min
4.61001443862915, # y min
2401.08740234375, # x max
1919.837646484375 # y max
],
"label":"bowl", # class name
"label_idx":45, # class ID
"confidence":0.7302282 # confidence score
}, ...
],
"labels":[ # list of labels in detection
"dining table",
"bowl",
"cake"
],
"error":None # error (if any)
}
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
cloudlabeling-0.0.11.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for cloudlabeling-0.0.11-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 008b05aa13519597b82a5fa86fea93bd60098bec518df5554c78ef9cbf99e00a |
|
MD5 | f9ba8a8a721ff39e020952ac0e3e8620 |
|
BLAKE2b-256 | 52d7be8d8353ee9612b56904b631de9c06585ab689b1ebb05701b9a3755252d9 |