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

Incorrect visualization of bboxes #274

Open
DimTrigkakis opened this issue Aug 10, 2022 · 5 comments
Open

Incorrect visualization of bboxes #274

DimTrigkakis opened this issue Aug 10, 2022 · 5 comments

Comments

@DimTrigkakis
Copy link

I just downloaded this code and run the sample without any problems, however in the visualization popup window I get the following:

image

I just run the command python gen.py --viz
I'm trying to see if it is just a visualization error but I can't find any information on the annotation labels under ./results/SynthText.h5, only the resulting image itself.

For example:

image

@takipipo
Copy link

takipipo commented Nov 9, 2022

I got the same result. Does anyone have a solution?

@92xianshen
Copy link

92xianshen commented Nov 9, 2022 via email

@takipipo
Copy link

@DimTrigkakis Use this https://github.com/adavoudi/SynthText instead of the main one. It is working!

@takipipo
Copy link

takipipo commented Nov 15, 2022

@DimTrigkakis I found another solution. Seems like the problem is pygame >= 2.0.0. By downgrading to pygame==1.9.3 seems to fix to problem

@cm107
Copy link

cm107 commented Jun 26, 2023

@DimTrigkakis takipipo is right, pygame>=2.0.0 seems to be causing the bounding boxes to be messed up.
I confirmed that downgrading to pygame==1.9.3 fixes the problem, but unfortunately you can't install pygame==1.9.3 with newer python versions (python>=3.7).
I confirmed that you can install pygame==1.9.3 successfully using Python 3.6.5.

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

4 participants