title: How to convert a CSV table into COCO format in python?
body: <p>I have a CSV table with the following columns:</p>
  <pre><code>column_names = ['image_id', 'xmin', 'ymin', 'width', 'height', 'xmax','ymax']
  </code></pre>
  <p>where xmin, ymin, xmax and ymax represent the bounding box that encloses some object; width and height, the image dimensions; and image_id, the file name (.JPG file). Since I want to do object detection, I need to convert this table into COCO format. Amazingly enough, I can't find any answer to this inquiry in the internet.</p>