Solved

image reading

Posted on 2003-11-06
5
202 Views
Last Modified: 2006-11-17
ok here is my problem

first i dont know its right topic are to ask this question or not .. but its sure i wld prefer PHP soln

i have images (genrally scanned  images of books ) in tiff or jpeg format...

wat i want to do it i want to read the words in image and save those in txt file ?

possible ?

i have chcked ABBY fine reader it works but its not good if i have images in bulk .

Thanks in advance

Lk
0
Comment
Question by:lokeshv
5 Comments
 
LVL 13

Accepted Solution

by:
lozloz earned 34 total points
ID: 9696756
that's quite a complex thing to do and i doubt there would be any php extensions which could do this. the only option i can think of is using php to automatically run each image through finereader. you'd have to install it on the server and then run the program using the exec function. i don't know enough to tell you how to pass the filename to the program, might be possible through a flag after the program name, but still, this isn't a particularly easy thing to do

loz
0
 
LVL 8

Assisted Solution

by:inq123
inq123 earned 33 total points
ID: 9698342
Hi lokeshv,

I like ABBYY find reader too.  But I don't think it has a command line interface.  You might need to buy this OCR Shop instead (http://www.vividata.com/ocrshop.html).  Then you can just call system() function in php and feed image files into the command line interface of the OCR software and get txt files saved.

Cheers!
0
 
LVL 6

Assisted Solution

by:aolXFT
aolXFT earned 33 total points
ID: 9706724
You could give GOCR a try, It's open source, so too, so you might be able to use it to make a PHP Extension! I would however recommend that you do as lozloz suggests, and use exec( or system, or backticks, or any other shell execution commands)

What platform(OS) are you running this on?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
change password links 7 74
only allow numbers with preg match 4 26
unset shopping cart session 15 32
Why my select dropdown does not work? 8 26
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article discusses how to create an extensible mechanism for linked drop downs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now