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.8.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for cloudlabeling-0.0.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d3dae3761115aa9425b906635b7160e4909dbce6adadee716585e1892e90e6e |
|
MD5 | eb8fb03568d078132ee2f6e7619b729b |
|
BLAKE2b-256 | 8463a50b6536a4bf9a33768d37901fa6e401dda619cf0b228fb4ad73d8d98432 |