2
$\begingroup$

I wish to remove the horizontal bar (Shirorekha) from the word to get characters from the following image, for character recognition. Any ideas as to how can I do that. I tried to use Hough Transforms for line and then looked for longest line. Blue line is the longest, but this too is a vertical line. I do not get results better than this. Since the line is crooked and not straight I do not get good results. Please help.

Input Image

Results from Hough Transforms for a line

$\endgroup$
1
  • 5
    $\begingroup$ Why not look for the longest near-horizontal line in a Hough transform? $\endgroup$
    – whuber
    Commented Apr 15, 2015 at 18:33

2 Answers 2

1
$\begingroup$

In order to take out the Hindi language characters, you don't need to remove the horizontal line. The horizontal line is a part of the character, also there are some characters in the hindi language that use small or no horizontal line. So, this means that to separate characters you will need to slice them vertically.

You can search the 'Matras' system for reference of what to consider before vertical slicing.

matras

$\endgroup$
0
$\begingroup$

You need to define the acceptable [theta][1] range. See the below example:

[H,T,R] = hough(BW,'Theta',85:0.01:89.99);
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.