camelot
camelot copied to clipboard
Dark tables not detected.
Describe the bug
- Not all tables are detected.
- While three bright tables have been detected, two similar but dark tables haven't.
Steps to reproduce the bug
- Install via
pipenv install excalibur-py
- Run
camelot lattice -plot contour 19_extracted_A7325-AMICCOM.pdf
Expected behavior
- Detection of all five tables.
Screenshots
Environment
- OS: Linux Mint 20
- Python version: 3.8
- Numpy version: ?
- OpenCV version: ?
- Ghostscript version: 9.50
- Camelot version: 0.8.2
Additional context My personal guess is that the dark grey tone of the table interferes with it's detection.
Can you try with this setting: https://camelot-py.readthedocs.io/en/master/user/advanced.html#detect-short-lines?
@vinayak-mehta @Semnodime
I have tried this problem myself and can confirm that the above documentation makes all five tables detected:
camelot lattice -scale 40 -plot contour 19_extracted_A7325-AMICCOM.pdf