pjreddie / darknet

Convolutional Neural Networks
http://pjreddie.com/darknet/
Other
25.71k stars 21.32k forks source link

How to convert coco/ VOC labels to yolo format? #969

Closed JohnWnx closed 6 years ago

JohnWnx commented 6 years ago

How can I obtain the bounding box labels from mscoco data set and convert them into labels for yolov3?

JohnWnx commented 6 years ago

https://github.com/matterport/Mask_RCNN/issues/155

sarveshj commented 5 years ago

check out this : https://bitbucket.org/yymoto/coco-to-yolo

cindyweng commented 4 years ago

Figured I'd share something I put together for my own use this weekend:

I've created a single-file python script that downloads COCO images by category (e.g. "person"), converts the bounding box coordinates into YOLO format and writes them to .txt files.

https://github.com/cindyweng/coco-to-yolo-by-category

devrimcavusoglu commented 2 years ago

I made a light-weight and easy to use package that supports conversion between any bounding-box type.

https://github.com/devrimcavusoglu/pybboxes