2
$\begingroup$

Although I am new to the computer vision domain, I am tasked with automating handwritten text recognition from bank cheques. I first did some preprocessing(blurring and binarization) and then dilated it so that I could segment the words. But since the words are handwritten (cursive and unconstrained), the segmentation is failing most of the time. I read up on some research papers and it seems you can use neural networks for segmentation.Is that the correct approach? Are there other alternatives? Can someone shed some more light?

$\endgroup$
3
  • $\begingroup$ Cross-posted: stackoverflow.com/q/48650941/781723, cs.stackexchange.com/q/87789/755. Please do not post the same question on multiple sites. Each community should have an honest shot at answering without anybody's time being wasted. $\endgroup$
    – D.W.
    Commented Feb 7, 2018 at 6:05
  • $\begingroup$ There is no one "correct" approach; there are just different approaches, and some work better than others. In general the usual way to find out is (a) try it and see, or (b) read research papers and see what they tried and what they report the results were when they tried it. $\endgroup$
    – D.W.
    Commented Feb 7, 2018 at 6:06
  • $\begingroup$ @D.W. Sorry for double posting. I am deleting the question from StackOverflow $\endgroup$ Commented Feb 7, 2018 at 7:11

1 Answer 1

1
$\begingroup$

As mentioned in comments there is no one right way to recognize handwriting. That said, Here are two techniques you could explore.

Watershed segmentation works by creating a topological map of the image to determine which objects distinct and with or without connection to other objects. I recommend it to you because watershed excels at naturally or man-made round objects. It has been documented for use in handwriting recognition. This is an easy one to get started with too. You can simply call watershed in matlab, OpenCV, or scikit

Machine Learning / Deep Learning (ML) is a daunting term to some but we usually get the chance to stand on the shoulders of giants such that ML on images is about as difficult as editing an large collection of vacation photos. Bag of words is a particular technique which works well on finite object sets. Note that like most ML BoW requires pre-classified training materials so be prepared to provide at least 100 different samples of a cursive uppercase 'Q' along with all the other characters you wish to recognize. Nonetheless, if you've got the time and resources to train it, a ML solution can be incredibly powerful in handwriting recognition.

$\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.