Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Convert "Text image" to "Editable text"

by prabudass (Novice)
on Nov 06, 2008 at 11:01 UTC ( #721950=perlquestion: print w/replies, xml ) Need Help??
prabudass has asked for the wisdom of the Perl Monks concerning the following question:

I need to convert "text image" to "editable text" in illustrator. I can't found any option for this in illustrator.
But in acrobat using the "OCR" option we can change the text image back to editable text. We need to automate that process through programmatically.
Is it possible through perl. Kindly advice and provide me the reference.

Thanks in advance,
  • Comment on Convert "Text image" to "Editable text"

Replies are listed 'Best First'.
Re: Convert "Text image" to "Editable text"
by marto (Archbishop) on Nov 06, 2008 at 12:47 UTC
Re: Convert "Text image" to "Editable text"
by leocharre (Priest) on Nov 06, 2008 at 14:52 UTC
    As mentioned above, tesseract is an open source project that works very well. PDF::OCR, PDF::OCR2 are perl interfaces to it, makes some image conversion decisions for you, etc.
    I've also tested out gnu ocrad, ran some benchmark and output tests on same material etc- it doesn't work as well.

    This stuff works well on posix, these are mostly linux type boxes.

    On windows there's something called iris - but it's pay, it costs a lot, and you have to pay extra for an sdk. So you can't really code with it out of the box.

Re: Convert "Text image" to "Editable text"
by andreas1234567 (Vicar) on Nov 06, 2008 at 12:18 UTC
    What have you tried so far?

    I tested Tesseract once with reasonable success, given that the input image text was single-column and had no graphical elements.

    No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]
Re: Convert "Text image" to "Editable text"
by Anonymous Monk on Nov 06, 2008 at 12:11 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://721950]
Approved by Erez
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2018-05-26 03:15 GMT
Find Nodes?
    Voting Booth?