Page 1 of 1
Need to read scanned data through PHP
Posted: Wed Sep 10, 2008 3:34 am
by sandeept
Hello,
I am looking for a script/software in PHP which would help me to read a scanned document. Something similar to OCR functionality of the scanner. But, I need to integrate it in my PHP module.
Any help would be appreciated
Thanks,
Sandeep
Re: Need to read scanned data through PHP
Posted: Wed Sep 10, 2008 5:14 am
by onion2k
I think you'll need to explain what you want to develop in a bit more detail. What do you mean by "a scanned document" exactly? An image? Why would you want to do that with PHP?
Re: Need to read scanned data through PHP
Posted: Wed Sep 10, 2008 5:49 am
by sandeept
Hi Onion2k,
Thanks for the prompt reply
User will scan a printed paper. I need to read text written on this paper through PHP script.
Thanks,
Sandeep
Re: Need to read scanned data through PHP
Posted: Wed Sep 10, 2008 7:05 am
by onion2k
That's pretty much impossible. You probably could write some OCR software with PHP but it'd be a massive task and the final app would be horribly slow. I would recommend rethinking your entire application workflow. Why can't the user use OCR, or better yet just type in, what's on the paper?
Re: Need to read scanned data through PHP
Posted: Wed Sep 10, 2008 7:09 am
by sandeept
There will be millions of records on the paper which need to be imported into MySql database.
Re: Need to read scanned data through PHP
Posted: Wed Sep 10, 2008 10:21 am
by onion2k
sandeept wrote:There will be millions of records on the paper which need to be imported into MySql database.
Then PHP
definitely isn't the correct solution. Try talking to a document digitising company. It'll cost
a lot to get millions of documents converted to something useful, but it'd still be cheaper than writing your own solution.
Re: Need to read scanned data through PHP
Posted: Wed Sep 10, 2008 10:29 am
by Paul Arnold
I have absolutely no experience of this but a quick search brought it up:
http://www.phpclasses.org/browse/package/2874.html
Re: Need to read scanned data through PHP
Posted: Thu Sep 11, 2008 8:18 am
by sandeept
Thanks

I'll refer to it.
Re: Need to read scanned data through PHP
Posted: Thu Sep 25, 2008 7:01 am
by sandeept
Hello,
The requirement is changed fortunately

But, the new one is tricky too
I need to fire scanning functionality on a button click and scanned image should be saved on server.
Thanks,
Sandeep
Re: Need to read scanned data through PHP
Posted: Thu Sep 25, 2008 7:21 am
by Darkzaelus
Sounds impossible for me, unless you want to find a way using a java applet or flash. Javascript i'm sure won't cut it, and php is server side, so thats a definate no. Just get them to scan it in, and then upload it with a file field.
Cheers,
Darkzaelus.