You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alexey Mikhailyuk 87ed02eb24
Add files via upload
4 years ago
COCO2YOLO.py Add files via upload 4 years ago
README.md Update README.md 4 years ago
test.py Add files via upload 4 years ago
test_with_labels.py Add files via upload 4 years ago

README.md

COCO2YOLO

COCO to YOLO converter

Usage

python COCO2YOLO.py -j coco.json -o path_to_dir

To test the conversion you can run test.py

python test.py -i img.jpg -t converted_to_yolo.txt

Or

python test_with_labels.py -i img.jpg -t converted_to_yolo.txt -l labels.txt