# COCO2YOLO **Repository Path**: wirelesser/coco2-yolo ## Basic Information - **Project Name**: COCO2YOLO - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-13 - **Last Updated**: 2024-03-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # COCO2YOLO COCO to YOLO converter # Usage `python COCO2YOLO.py -j coco.json -o path_to_dir` ### Or download [Release](https://github.com/alexmihalyk23/COCO2YOLO/releases/tag/v1.0.0) 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` python COCO2YOLO.py -i /home/jianxi/data/WiderPerson/Images -r /home/jianxi/data/person/train/ -j /home/jianxi/data/WiderPerson/Annotations/instances_train_posted.json