1

I am looking for some help with COCO jsons. I have a set of images that I have labelled with 10 sided polygons (blue blobs). I have another set of images with the ground truth areas (yellow blobs). I want to compare the area/number of pixels of the blue blobs with the yellow blobs. I have labelled the dataset with bounding boxes and converted them to COCO formatted jsons.

The ground truth image

The image that has been labelled

The json containing the polygon coordinates

Do I need a COCO to CSV converter? Some sort of masking thing? Thank you!!

  • Please embed the images instead of linking them – Maccesch Mar 30 '22 at 22:33
  • You should probably compare the images directly rather than converting to json for comparison ! – endive1783 Mar 31 '22 at 05:57
  • @Maccesch unfortunately I can't as I am a new user –  Apr 01 '22 at 10:00
  • @endive1783 hmm ok, its just that I need to use the exact coordinates of the bounding boxes that I have drawn –  Apr 01 '22 at 10:01
  • I am not sure I understand the question then... Is your question about extracting the polygon coordinates from the COCO json ? – endive1783 Apr 05 '22 at 03:56
  • Yes I want to extract the polygon coordinates then create an array with those polygons filled in, then I will compare that array with another array for overlap and intersection. But I do not know how to extract the coordinates of the polygons for to create an array with those coordinates? –  May 07 '22 at 14:03

0 Answers0