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 ca9d5b1088 Set theme jekyll-theme-cayman 4 years ago
COCO2YOLO.py Add files via upload 4 years ago
README.md Add release notes 4 years ago
_config.yml Set theme jekyll-theme-cayman 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

Or download Release and run

COCO2YOLO.exe -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