Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misunderstanding the scripts #39

Closed
Didier0 opened this issue May 9, 2022 · 2 comments
Closed

Misunderstanding the scripts #39

Didier0 opened this issue May 9, 2022 · 2 comments

Comments

@Didier0
Copy link

Didier0 commented May 9, 2022

Hi, can you explain me some scripts?

What is difference between: T3 annotation tool scripts, Detection_Recognition_Annotation_script.m and the python scripts in Evaluation_Protocol?

Some script is used for generating file with groud truth of text on image (T3 ?), one is used for drawing polygon bounding box (Detection_Recognition_Annotation_script.m?) and the main script where magic is happening is Deteval.py or Pascal_VOC.py ?

@Didier0 Didier0 changed the title Don't understanding the scripts Misunderstanding the scripts May 9, 2022
@chunchet-ng
Copy link
Collaborator

HI there,

I think you are misunderstanding the purpose of these scripts. Files in the Annotation Tool folder are meant for the annotation platform we used to annotate TotalText, while the Evaluation Protocol folder has necessary scripts to evaluate the prediction results from a model.

If you want to draw polygons on the image, you need to write your own code to handle:

  1. Reads in TotalText ground-truth polygons and image
  2. Draw on the image using Pillow or OpenCV

Do note that we do not provide such code in this repo.

@Didier0
Copy link
Author

Didier0 commented May 11, 2022

Ok, thank you for explanation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants