cs-chan / Total-Text-Dataset

Total Text Dataset. It consists of 1555 images with more than 3 different text orientations: Horizontal, Multi-Oriented, and Curved, one of a kind.
BSD 3-Clause "New" or "Revised" License
747 stars 140 forks source link

Generating ground truth of text #38

Closed Didier0 closed 2 years ago

Didier0 commented 2 years ago

Hi, can you tell me how do you generate file with ground truth of text instance on image?

chunchet-ng commented 2 years ago

Hi there, do you want to draw ground-truth bounding boxes on the image?

If yes, then you can use Pillow's ImageDraw.polygon or ImageDraw.rectangle for this task.

Didier0 commented 2 years ago

I have image with text instances on it and now I need to generate a file which consist ground truth of text instance that is on image.

Something like this, I need ground truth position of text instances, of bounding box. image

chunchet-ng commented 2 years ago

You can get ground-truth bounding boxes at this page.

Didier0 commented 2 years ago

Thank you :)

chunchet-ng commented 2 years ago

You are welcome! 😄