An open API service indexing awesome lists of open source software.

https://github.com/paveldat/coco-2-yolo

COCO to YOLO converter
https://github.com/paveldat/coco-2-yolo

Last synced: 4 months ago
JSON representation

COCO to YOLO converter

Awesome Lists containing this project

README

        

## COCO2YOLO
COCO to YOLO converter.
Given the annotation JSON file, this tool will help you create TXT files for YOLO learning.
The TXT file has the same name as the image from which it was created.

## Example of use
```bash
python3 coco2yolo.py -j labels.json -o output
```

## Example of the created TXT file
```txt
67 0.281460 0.071347 0.222480 0.119120
48 0.453370 0.506373 0.674140 0.770773
```