Closed prasum closed 1 year ago
Hi,
In my scenario, I have the image as a numpy array. Could you please let me know how to apply the page dewarping script on the same?
Thanks and Regards Sumeet Lalla
The library takes input files and writes intermediate files. If you look in the WarpedImage class you can see the logic, but it's all tied to an assumption of using files
WarpedImage
https://github.com/lmmx/page-dewarp/blob/5708fad352b528ef8652b8ae942a4bdcb5e550ef/src/page_dewarp/image.py#L40-L86
Thank you @lmmx
Hi,
In my scenario, I have the image as a numpy array. Could you please let me know how to apply the page dewarping script on the same?
Thanks and Regards Sumeet Lalla