Solved

image reading

Posted on 2003-11-06
5
205 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
php checkbox validation 5 27
send post values 7 26
writing a post to a file that is on same folder and same webserver 5 32
website maintenance mode 1 17
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

803 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