How to create COCO format data out of list of boxes
I have $N$ images. I have a script that extracts boundary boxes of an object that I am interested in. For each image, I may get $m$ boxes. There is only one item that I am interested in which is cat.
So what I have is like the following:
image_1.jpg [[1, 2, 100, 200], [1, 2, 130, 200]], cat, cat
I wonder how I can turn these data into a COCO format data in order to build my object detection model.