Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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


Comment on Re: How to extract image captions from a PDF file using perl
Download Code

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 about the Monastery: (10)
As of 2014-10-20 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (73 votes), past polls