If your labeling tool exported annotations in the
YOLO Darknetformat, but you’re trying to use a
model that needs
COCOannotations, we’ve got you covered. You can convert those in 3 clicks with Roboflow.
Roboflow is the universal conversion tool for computer vision annotation formats. It's completely free for your first 1,000 images. You'll need an account to convert your dataset.
Once your account has been created, click Create Dataset.
You might be looking to use YOLOv4 on your own dataset.
Next, you can choose Preprocessing and Augmentation options for your dataset version and then click Generate.
After generating, you will be prompted to Export your dataset. You can choose to receive your dataset as a .zip file or a curl download link. You can also choose which format you would like to export. Choose
COCO JSON
.
Congratulations, you have successfully converted your dataset from
YOLO Darknet TXT
format to
COCO JSON
format!
Ready to use your new
COCO
dataset?
To learn how to create COCO JSON yourself from scratch, see our CVAT (object detection annotation tool) tutorial.
Here are some compatible models: