Detecting the number of horizontal and vertical lines in an image to predict any symbol

221 Views Asked by At

I'm trying to get the detect the number of horizontal and vertical lines and based on that, I want to detect the name of the symbol.

I have tried this approach, Java image analysis - counting vertical lines but the solution is very image specific whereas in my case, the image threshold would change according to the image.

enter image description here

enter image description here

These are some of the symbols that I have to detect (have a set of more 30 symbols). I have used some other approaches using Marvin, but those are also not giving me proper results.

Any help would be highly appreciated. Thank you.

0

There are 0 best solutions below