coco-labels-parser-1.0.1
توضیحات
A simple labels parser of COCO dataset.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | coco-labels-parser-1.0.1 |
| نام | coco-labels-parser |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Enchanter |
| ایمیل نویسنده | 409766147@qq.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/coco-labels-parser/ |
| مجوز | - |
# 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()
نحوه نصب
نصب پکیج whl coco-labels-parser-1.0.1:
pip install coco-labels-parser-1.0.1.whl
نصب پکیج tar.gz coco-labels-parser-1.0.1:
pip install coco-labels-parser-1.0.1.tar.gz