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

fix polygon generation problem #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kouxichao
Copy link

When I use the image below to test the code and generate a polygon, Longer curved text does not produce a polygonal box,the result is shown in the figure.
res_curve
I found that it is because the scanning of the text area is simply a scan in the w direction, but w is not necessarily a longer side, causing certain problems. After the change, the result is as shown below.
res_curve_

@kouxichao
Copy link
Author

But when I see if there is such a problem in the corresponding literature, I found that the test images in the literature does not seem to have this problem.

@ghost
Copy link

ghost commented Aug 17, 2019

@YoungminBaek Merge it.

@visiont3lab
Copy link

@kouxichao kouxichao, I try the code you suggested, but I get this image. I need to modify something else, or tune some parameters more?
res_chianti

Many thanks

@kouxichao
Copy link
Author

@visiont3lab have you fixxed this problem? it looks like you didn't set the --poly option in command

@visiont3lab
Copy link

visiont3lab commented Oct 22, 2019 via email

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

Successfully merging this pull request may close these issues.

2 participants