Taeyoung96 / Yolo-to-COCO-format-converter

Yolo to COCO annotation format converter
MIT License
280 stars 92 forks source link

Formatted json output with indent=4. #9

Closed NauchtanRobotics closed 3 years ago

NauchtanRobotics commented 3 years ago

@Taeyoung96 This PR will eliminate the need to JQ the COCO output file. The file will be slightly larger (due to extra tabs and carriage returns) than the minimized version that the code currently produces. Is minimisation critical to you?

Taeyoung96 commented 3 years ago

Wow. I didn't know that the JSON library has this option!
I think this one looks better.
Thanks for your PR! 😄