Install
pip install coco-labels-parser
Usage
from coco._parser import CocoBoxesParser
json_file = coco/annotations/instances_train2014.json #"path to Annotation file which is json format!"
save_path = coco/labels #"where you want to save"
my_parser = CocoBoxesParser(json_file,save_path)
my_parser.get_categories_id()
my_parser.get_labels()
Release files for coco-labels-parser 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| coco_labels_parser-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / coco_labels_parser-1.0.1-py3-none-any.whl
| Download URL | coco_labels_parser-1.0.1-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5fc11a9543016d65088a45b9937982ca3115bc10b42e8f94e1077070ec43cdf
|
|
BLAKE2b-256 checksum How to use checksums |
dd377731a25525aed2f5554ecb9bfefc77d03c6d9dbdba4be650eaf6ddadbe44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.9
|