Solved

image reading

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
The viewer will learn how to dynamically set the form action using jQuery.
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…

839 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