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.16.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for cloudlabeling-0.0.16-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3df7e367e42e15f0c41d7535690eb84daea013360108e0b51d9caf2256bf0068 |
|
MD5 | 035af3af384383dcc7465b3a40810f4b |
|
BLAKE2b-256 | d537b22d7d3264790e931cc0ffc21e4c0304d6da0c72d46f982a01402ed1ca7d |