Wouldn't it be easier and more generic to have an OCR solution for this task?
If you have any pointers in the OCR route, do suggest them here, or on this GitHub issue! https://github.com/socialcopsdev/camelot/issues/101
11–20 of 102 posts
Wouldn't it be easier and more generic to have an OCR solution for this task?
If you have any pointers in the OCR route, do suggest them here, or on this GitHub issue! https://github.com/socialcopsdev/camelot/issues/101
Earlier quoted context omitted.
Try these: Page 233 http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8351-M... Page 45 https://ae-bst.resource.bosch.com/media/_tech/media/datashee... Is the library able to handle cells that span multiple columns?
I assumed that you're talking about page 33 in the first PDF, since it has only 225 pages. I extracted Figure 6-23 from it and the table on page 45 in the second PDF. Here's a gist: https://gist.github.com/vinayak-mehta/cf30a5560f1b8ab4c0b25e... Yes, Camelot takes care of cells spanning multiple columns! You can check out the Advanced Usage section for explanation on the keyword arguments I used in the gist! https://…
Did this: qpdf --decrypt input.pdf output.pdf
This is a very interesting software. In research community still many results are only in pdf tables in papers, so obtaining them in dataframe is very useful, good job!. By the way, I would like export also in Excel files in the command line.
You can simple do: camelot --output data.xlsx --format excel lattice input.pdf (lattice can be replaced with stream based on the type of tables in your PDF)
for example, this is my sample piece of code to extract data from Aadhaar signed PDF https://pastebin.com/dg8p98T1
Quick suggestion - you should integrate the functions to extract signature data inside PDF. This is a huge issue and everyone has to write their own. for example, this is my sample piece of code to extract data from Aadhaar signed PDF https://pastebin.com/dg8p98T1
Quick suggestion - you should integrate the functions to extract signature data inside PDF. This is a huge issue and everyone has to write their own. for example, this is my sample piece of code to extract data from Aadhaar signed PDF https://pastebin.com/dg8p98T1
Thanks for the suggestion sandGorgon! Can you also point me to an example of a PDF with signature data?
This is a really good example of how to briefly introduce/sell a library. What it does, why, how, how to install it, with concrete examples.
Cool! That's a good intro too. Many people don't realise the general weird disconnect in PDFs between real content and what you see on the screen that makes it hard to recover source data. In extreme cases you have subset fonts with glyphs ordered completely differently from how they are in the original and no mapping back to the character they represent. Then the graphics stream is instructions to draw glyphs at coo…
Earlier quoted context omitted.
Thanks for the suggestion sandGorgon! Can you also point me to an example of a PDF with signature data?
unfortunately i cannot share without running afoul of all the laws out there. but you can create your own here - https://app.digio.in/#/authenticate
Wouldn't it be easier and more generic to have an OCR solution for this task?