Re: SCanning text of PDF documents
| From: | Ray Hauge | Date: | Fri, 16 May 2008 01:17:03 +0000 |
| Subject: | Re: SCanning text of PDF documents | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274402@lists.php.net to get a copy of this message | ||
Angelo Zanetti wrote:
Hi All. This is a quick question. A client of ours wants a solution that when a PDF document is uploaded that we use PHP to scan the documents contents and save it in a DB. I know you can do this with normal text documents using the file commands and functions. Is it possible with PDF documents? My feeling is NO, but perhaps someone will prove me wrong. Thanks in advance. Angelo Web: http://www.elemental.co.zaOne thing you'll have to watch is that if the PDF was created by a scanner, then the "text" on the PDF is actually just an image and cannot be read without OCR. I got stumped on that one for a while when I was doing something similar :) -- Ray Hauge www.primateapplications.com