Re: Character Recognition



Appologies if this is off Topic

I would like to write an application for character recognition purposesn

but a falling at the first hurdle. I intend carrying out the following
steps.

Capture an Image to memory with some numbers on it(say ten chars for
example)

Isolate each of the indivudual characters

Try to identify each of the chars on at a time.

At the moment, I am using c#, I can capture the image to memory ok(
approx
200 x 100 pixels), but I am testing each pixel for a specific color value
to
determine if text is present. This is currently taking between 1.3 - 1.5

seconds to simply scan for characters, never mind the process of actually

identifying what the char is. This is far too long for my purposes and
would
ideally like to process a maximum of 5 images per second.

I have done a couple of AI course and a postgrad DSP course so I am not a

total newbie, but I must admit, I am struggling with this.

Could anyone point me in the direction of good sources for this kind of
info, either web or book. I have tried googling but am finding it
difficult
to find any relevant info on the algorithms used etc.

Thanks.




I'm not sure why it would take that long as I'm not familiar with C#. Are
you including the time to load the image too? Just scanning through and
checking a threshold on data that size should only take several ms. I
completely agree with Tim that something like Matlab would be better for
development. If you don't have access to that then Octave is a free
clone.

You didn't specify if this is written text or scanned printed text, but
for either the best method to solve your problem is with a neural network.
In an undergrad class I took on the subject our first assignment was to
train a neural net to recognize the digits 0-9. We weren't trying to
separate indidual digits, and each was only 8x8 if memory serves. However
the power of a neural net is it is very adaptable if you train it
corecctly. For example, if you are a few pixels off one way or the other
when you isolate the individual characters or a handwritten character is
sloppy.

Joe

_____________________________________
Do you know a company who employs DSP engineers?
Is it already listed at http://dsprelated.com/employers.php ?
.



Relevant Pages

  • Re: Wrong type of char array
    ... It sounds to me like the string in memory is Unicode, ... standard C++ chars. ... etc...") but it is twice as long and every other character is a 0 ...
    (microsoft.public.dotnet.languages.vc)
  • Re: both specifying now, Khalid and Hamza pined the recent tents in search of current notion
    ... equally squeeze Hakeem and Annie's protestant draper. ... rain insights. ... Gawd, I'll project the character. ... it will apparently guide the memory. ...
    (sci.crypt)
  • Re: Cohens paper on byte order
    ... memory space representing that variable. ... >> I meant by character by character.) ... > It is used for practical tasks by a lot of engineers working with ...
    (sci.crypt)
  • Re: Dynamic Disassembler (determine main() location at runtime)
    ... The current dead space seems to be 0x00 and 0xCC on ... Windows 2000 allocates Virtual Memory on 64KB boundaries for the ... may see more dead space with a new BYTE fill character. ... I don't see why you would care if there is a jump stub for main or not; ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Counting total space,tab,new line in a string.
    ... That is the foolish, foolish, foolish. ... memory, just to make the only reference to that memory point somewhere ... Did you probably mean to copythe string from chars to temp? ... Why don't you simply use the ' ' character instead of guessing what code ...
    (comp.lang.c)