Added pdfplumber to table_extraction.py while preserving the existing Camelot table extraction functionality.
The pdfplumber coordinate system should be the same as COSMOS's pdf coordinate system, except that the coordinates need to be scaled from the size of an image to maybe around 792x612.
Tested the added functions locally with manual pdf coordinate inputs, but not within COSMOS since TableLocationProcessor requires COSMOS generated pngs of detected tables
Added pdfplumber to
table_extraction.py
while preserving the existing Camelot table extraction functionality.The pdfplumber coordinate system should be the same as COSMOS's pdf coordinate system, except that the coordinates need to be scaled from the size of an image to maybe around 792x612.
Tested the added functions locally with manual pdf coordinate inputs, but not within COSMOS since
TableLocationProcessor
requires COSMOS generated pngs of detected tables