Evezerest / PPOCRLabel

PPOCRLabel is a semi-automatic graphic annotation tool suitable for OCR field, with built-in PP-OCR model to automatically detect and re-recognize data. It is written in Python 3 and PyQT5, supporting rectangular box annotation and four-point annotation modes. Annotations can be directly used for the training of PP-OCR detection and recognition models.
175 stars 41 forks source link

Convert Label.txt from PPOCRLabel to COCO annotations (.json) format #58

Open Sheharyar-Khan opened 10 months ago

Sheharyar-Khan commented 10 months ago

I had been using PPOCRLabel to create labels for layout detection. The output of PPOCRLabel is a label.txt file that has its own format. I need to know if can I use this label.txt file directly to train a layout model (in PPStructure) or do I need to convert it to COCO annotations format. Is there an available option to convert it to COCO annotations (.json) format?

Thank you