There have been several discussions on OCR (Optical Character Recognition) in the Monastery that I can think of. You might find some of them helpful.

jcwren wrote a little snippet that he posted here which performs very basic OCR on an image file. It's quite limited in its capability, but demonstrates some of the principles involved.

The gyst of other threads on the subject seems to be that OCR is a computational-intensive task, and probably better suited to a compiled language.

The fact that there are no modules on CPAN for OCR (at least none that my quick search turned up) would seem to indicate that it's no trivial task.

Update: There is an Image Processing Algorithms module on CPAN that you'll find here which proports to be "designed for solving image analysis and object recognition tasks in Perl." The Quantum Leap of developing an OCR project from scratch may be reduced to an Enormous Hurdle with the aid of this IPA module.


Dave


In reply to Re: OCR Code by davido
in thread OCR Code by tbabu

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.