What is the relation between OCR and Artificial Neural Network?

Go To StackoverFlow.com

1

I saw different articles speaking about OCR form recognition (data extraction) and they said that they used Neural Network in order to do form recognition, so what's the relation between Artificial Neural network (ANN) and form recognition? If I want to extract fields from a BusinessCard, is it required to use ANN or is it optional? In other words when do I need to use ANN and when I don't?

2012-04-05 14:50
by Ahmed Hussein


1

It's a little different. ANN is just an "expert" in all OCR. But OCR engines contain many experts. When you study ANN you will build a simple OCR engine using just ANN but this does not compare to modern engines that use this in conjunction with tri-grams, morphology, data types ( very important for BCR and Forms ), dictionaries, connected components algorithm, etc. So look at it as just one of the tools in the bag of tricks to extract quality results. A good engine will incorporate ANN and all the others. In BCR there are additional considerations and it should be very heavy on connected components, dictionaries first, then use ANN and pattern matching for the actually recognition.

2012-04-06 17:08
by Chris Riley


1

ANN is one way to perform OCR. There are others. Hence if you want to extract fields from a BusinessCard using ANN is only optional.

2012-04-05 15:04
by Franck Dernoncourt
what's the other techniques i can use to extract fields from business cards - Ahmed Hussein 2012-04-05 16:06
For OCR you usually need more than a module for character recognition (which could be an ANN, SVM, ...). First you have to extract blocks, lines, columns and normalize, scale, rotate your input image .. - alfa 2012-04-05 19:35
what's SVM, is there's any articles to learn it? or any articles on how how to extract blocks, lines, columns and normalize, scale, rotate your input image - Ahmed Hussein 2012-04-06 12:45


1

Good question. I recently spent some time playing with OCRopus, a Google project that does OCR - you can get it for free and play with it yourself. I'm pretty sure that it has an ANN as one of the modules behind it. However, the whole process of Optical Character Recognition can have many steps (lots of different little modules that each do something and pass the results to the next module).

So, here are some of the things I remember as being done by modules in that project:

  1. There was a module that turned the image into black and white - this makes it easier for later modules to deal with.
  2. Getting rid of speckles / spackles.
  3. Straightening out the lines of text.
  4. Breaking lines of text into individual words (it's been a few weeks, not sure about this one)

Basically, you can do the above using little bits of code that don't involve a neural net. So it's simpler doing it with these little bits of code.

The neural net I think is used just to recognize the individual characters - which character of a group of possible characters is it.

There's a training command in the OCRopus that I had running for over a week on end, and it kept sending line samples to the map, slowly changing the map as it went. I think it was training the ANN part.

2014-10-04 19:00
by Jacob Johnson
Ads