-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Can I detect the rotation of the text? If so, how do I do that? #368
Comments
@joaossmacedo Can you please share your github repo for multiple orientations model, I need that for my project |
I've found a solution that works but it's sub-optimal. First of all, there is a limitation. It will only work if the angle is 0º, 90º, 180º or 270º. The idea
The code
Alternative ideaOne idea that we explored but didn't end up using was to run through Tesseract to get it's angle. We decided not to use this method because we would need to add Tesseract to our project and, in our case, it was faster to recognize than to detect. |
@joaossmacedo does the EAST model out of the box detect text region of any orientation or you had to make some changes to do it ? Currently, I have trained it on some synthetic images for about 15k steps now and it doesn't seems to detect in all the orientations. I started from resnet checkpoint. I don't think amount of data is a problem since the training data is about 800,000 samples. Do I just keep training for more steps ? |
In the project that I used EAST on, the data was also synthetic but only had text on 0º, 90º, 180º and 270º degrees. It was able to detect the text on all of those orientations. I didn't use any previous checkpoint so I can't comment on that specifically. However, I believe it should be able to detect text in all orientations as evidenced by the images on the README. I'm sorry I couldn't be more helpful. |
@joaossmacedo Thanks. That's makes sense. I'll poke around a bit more. |
Here are couple of results using pics are from icdar15 test set - |
hi, i also checked rotation, it dosn't have rotation correction in text detection, i think for adding this option, you should have box of every alphabet , |
Useful:
The text was updated successfully, but these errors were encountered: