Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How to extract image captions from a PDF file using perl

by chrestomanci (Priest)
on Nov 17, 2010 at 10:01 UTC ( #871973=note: print w/ replies, xml ) Need Help??


in reply to How to extract image captions from a PDF file using perl

Perhaps you could convert your PDF files to SVG using inkscape, and then parse the resultant SVG using one of the standard XML processing libraries.

Inkscape has a command line mode that can do almost anything that you can do with the GUI.

inkscape -f Input_file.pdf -l Output_file.svg

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2016-07-23 17:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (221 votes). Check out past polls.