-
Notifications
You must be signed in to change notification settings - Fork 150
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
in line 528... and after #5
Comments
👍 This definitely seems to be the case. It seems like you want to check to make sure the values are close to each other, but I'm not sure if that's what they're trying to do. Perhaps |
I believe that @achalddave has it right. You will probably need to adjust the other filters if you make this change. I haven't had a chance to test it. The other piece of feedback I've gotten is to add a check for a minimum height on each component (line 697). |
I've also had luck with eroding the components by a small value and seeing if they still exist; this is not in the paper, but it performed better than the height check as it also gets rid of thin diagonal lines (achalddave/Kannada-Text-Detection@ba0eb48) |
According to aperrault/DetectText@b29234e and discussion in aperrault/DetectText#5
...&&((_ptr)/right <= 3.0 || right/(_ptr) <= 3.0)
Correct me if I am wrong, but this is always true. If You have two real numbers, like 'a' and 'b', a/b or b/a should be less than 1. I think because of this, things get connected which should not be, and we will have huge components.
The text was updated successfully, but these errors were encountered: