xavctn / img2table

img2table is a table identification and extraction Python Library for PDF and images, based on OpenCV image processing
MIT License
577 stars 76 forks source link

How to pass cv2/pil image instead of file path to process? #215

Closed nissansz closed 2 months ago

nissansz commented 2 months ago

Instantiation of document, either an image or a PDF

doc = Image(src)

I want to pass cv2/pil image instead of file path. How to do?

nissansz commented 2 months ago

1