Three checks before sharing a COCO export
Open the files, trace a polygon, and check the category using a small synthetic dataset.

A COCO JSON file describes how images, categories, and annotations relate. A quick check catches mismatched filenames and out-of-bounds polygons before the dataset moves downstream.
Check the filenames
Open an image named in the images list. Match the annotation’s image_id to that image’s record.
Check the outline
Read the polygon coordinates as x/y pairs and confirm they trace the object.
The mask is synthetic and included for inspecting the export format.Check the category
Match category_id to a category and make sure its name is clear to whoever will use the export.
Inspect one image end to end before reviewing the rest of the dataset.
Try these checks on the COCO segmentation sample and guide.