Solved

image reading

Posted on 2003-11-06
5
199 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
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…

763 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

10 Experts available now in Live!

Get 1:1 Help Now