atlanhq / camelot

Camelot: PDF Table Extraction for Humans
https://camelot-py.readthedocs.io
Other
3.62k stars 350 forks source link

Detect colored cells in table #305

Closed MnvS closed 5 years ago

MnvS commented 5 years ago

Hi All,

This is great library and thanks for development effort on this. I have a question - Can this library detect colored cells and if so is there any documentation related to this.

If not, can we develop something to exclude/include colored cells from table.

anakin87 commented 5 years ago

Try to read this: https://camelot-py.readthedocs.io/en/master/user/advanced.html#process-background-lines

vinayak-mehta commented 5 years ago

@MnvS Can you upload an example to better illustrate the use case?

vinayak-mehta commented 5 years ago

Closing due to inactivity.

saurabhghatnekar commented 3 years ago

experiment-spreadsheet.pdf

I want to retain the color of text and the color of cells. Is this possible? There can be cells with only color and no text, I want to retain the color of cell when exporting as excel