Dear Monks,
Do we have a routine/parser which extract texts from a PDF with all its information like (x, y) co-ordinates, font size, location, width etc.
e.g: lets take a pdf looks like below.
Name: XYZ
 :
Date:dd/mm/yyyy
Address: QWER
Time:hh MM ss
and to extract something like below,
(x-start:10, x-end:40, y:-100) = Name:
(x-start:45, x-end:100, y:-100) = XYZ
(x-start:300, x-end:340, y:-100) = Date:
(x-start:345, x-end:400, y:-100) = dd/mm/yyyy
(x-start:10, x-end:50, y:-50) = Address:
(x-start:55, x-end:100, y:-50) = QWER
(x-start:300, x-end:340, y:-50) = Time:
(x-start:345, x-end:390, y:-50) = hh MM ss
Many Thanks,
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.