Open lindakasabian opened 1 year ago
I got the same issue, and I thought the output format only contains 4 coordinates while the polygon included more, which maybe the issue from. Thanks.
I got the same issue, and I thought the output format only contains 4 coordinates while the polygon included more, which maybe the issue from. Thanks.
my only workaround was to handle OCR label type differently in the converter.py file. then I was able to extract both polygons and bboxes with text field, similar to COCO-text format
I'm trying to export the OCR task into one of the COCO or YOLO formats with polygon region annotation format. The rectangle annotation works fine, but the polygon region (see photo below) doesn't work neither with COCO or YOLO. The issue was originally encountered in label-studio, but the traceback suggests that it's the converter's issue.
Export of polygon region OCR task to COCO Traceback:
Export of OCR polygon region task to YOLO
label studio and converter install info: