Generate annotations data in coco.

Is there a direct option to export annotated polygon image data in the coco format? If not, what's the best way to convert the default prodigy .jsonl file to the coco format?

Have you seen this answer?

It might be a nice example to work from. Prodigy currently does not offer an automated way to get data into the COCO format, but there might be some community examples out there that do.