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 details)
Built Distribution
File details
Details for the file cloudlabeling-0.0.16.tar.gz
.
File metadata
- Download URL: cloudlabeling-0.0.16.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29f29ea4d942b08ab04b27fb68ddf8a2dfade074535c27c2142d4c1a65c18cd9 |
|
MD5 | 4dfeb7d2479a2ba0accd978623b5c720 |
|
BLAKE2b-256 | eef81228d44a1d5d22d57330a4ad14a66c89364d8f25020332a0a5ae603007f0 |
File details
Details for the file cloudlabeling-0.0.16-py2.py3-none-any.whl
.
File metadata
- Download URL: cloudlabeling-0.0.16-py2.py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3df7e367e42e15f0c41d7535690eb84daea013360108e0b51d9caf2256bf0068 |
|
MD5 | 035af3af384383dcc7465b3a40810f4b |
|
BLAKE2b-256 | d537b22d7d3264790e931cc0ffc21e4c0304d6da0c72d46f982a01402ed1ca7d |