sandeept Posted September 10, 2008 Share Posted September 10, 2008 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 Link to comment https://forums.phpfreaks.com/topic/123573-need-to-read-scanned-data-through-php/ Share on other sites More sharing options...
JonnoTheDev Posted September 10, 2008 Share Posted September 10, 2008 I dont think there are any libraries for PHP to do this. There are simple OCR techniques that people have developed for reading CAPTCHA images but not whole documents. Link to comment https://forums.phpfreaks.com/topic/123573-need-to-read-scanned-data-through-php/#findComment-638235 Share on other sites More sharing options...
sandeept Posted September 10, 2008 Author Share Posted September 10, 2008 Hi Neil, Thanks for the reply User will scan a printed paper copy. I need to read text on this paper using PHP script/software. Thanks, Sandeep Link to comment https://forums.phpfreaks.com/topic/123573-need-to-read-scanned-data-through-php/#findComment-638236 Share on other sites More sharing options...
JasonLewis Posted September 10, 2008 Share Posted September 10, 2008 Neil said it. I too don't think there is a PHP library capable of doing this, then again I could be wrong. If possible it would probably be pretty complex to implement. Link to comment https://forums.phpfreaks.com/topic/123573-need-to-read-scanned-data-through-php/#findComment-638239 Share on other sites More sharing options...
sandeept Posted September 25, 2008 Author Share Posted September 25, 2008 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 Link to comment https://forums.phpfreaks.com/topic/123573-need-to-read-scanned-data-through-php/#findComment-650391 Share on other sites More sharing options...
JonnoTheDev Posted September 25, 2008 Share Posted September 25, 2008 PHP can save images to your server but not trigger a scanner or any input/output devices Link to comment https://forums.phpfreaks.com/topic/123573-need-to-read-scanned-data-through-php/#findComment-650396 Share on other sites More sharing options...
rarebit Posted September 25, 2008 Share Posted September 25, 2008 are you wanting to do this or someone else to do it for you? The new part will be client specific and therefore nothing to with php. A file upload feature is half client / half server, but thats easy and another question. Back to the original question: Once file is uploaded, you could use some form of the 'exec' command to run a system ocr program and then read its output. Once again what program you use depends upon what os your server runs and if or what is installed (e.g. if your host will install, if not your own server or a slice) Link to comment https://forums.phpfreaks.com/topic/123573-need-to-read-scanned-data-through-php/#findComment-650397 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.