Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Extracting text from PDF. No really

by chrisdolan (Beadle)
on Mar 29, 2008 at 03:20 UTC ( [id://677164]=note: print w/replies, xml ) Need Help??


in reply to Extracting text from PDF. No really

I'm the author of CAM::PDF. Even under the best circumstances, getpdftext.pl produces barely readable output. My module doesn't have a renderer, so the text extraction is a total hack that I tossed into the module for fun.

I'm quite pleased that other tools have produced good results! CAM::PDF (which I barely maintain anymore, I'm sorry to say) is optimized for high-performance, low-level editing of PDF documents.

Replies are listed 'Best First'.
Re^2: Extracting text from PDF. No really
by clinton (Priest) on Mar 29, 2008 at 13:04 UTC
    Thanks for responding, Chris. You'd be interested to know (as I mentioned in the OP), that the question "how do I extract text from a PDF" comes up a lot, and that the standard answer is always CAM::PDF.

    After your response, it seems that there is no Perl module for reading/rendering PDFs, and that about the only reliable OOS way to do it is via pdftotext from either Xpdf or Poppler.

    Clint

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://677164]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-03-19 11:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found