Browse Source

Update index.md

gh-pages
Alexey Mikhailyuk 4 years ago
parent
commit
e60f8ed4da
No account linked to committer's email address
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      index.md

+ 3
- 3
index.md View File

# COCO2YOLO # COCO2YOLO
COCO to YOLO converter COCO to YOLO converter
[![](https://s18955.pcdn.co/wp-content/uploads/2018/02/github.png)](https://github.com/user/repository/subscription)
# Usage # Usage


`python COCO2YOLO.py -j coco.json -o path_to_dir` `python COCO2YOLO.py -j coco.json -o path_to_dir`
### Or download [Release](https://github.com/alexmihalyk23/COCO2YOLO/releases/download/v1.0.0/COCO2YOLO.zip) and run
### Or download [Release](https://github.com/alexmihalyk23/COCO2YOLO/releases/download/v1.0.0/) and run
`COCO2YOLO.exe -j coco.json -o path_to_dir` `COCO2YOLO.exe -j coco.json -o path_to_dir`


# To test the conversion you can run test.py # To test the conversion you can run test.py
`python test.py -i img.jpg -t converted_to_yolo.txt` `python test.py -i img.jpg -t converted_to_yolo.txt`
## Or ## Or
`python test_with_labels.py -i img.jpg -t converted_to_yolo.txt -l labels.txxxxxxt`
`python test_with_labels.py -i img.jpg -t converted_to_yolo.txt -l labels.txt`

Loading…
Cancel
Save