Open tzktz opened 3 months ago
@tzktz, instead of looking into the MaxResize class, what you need to do is take the detected table and then expand the detected bounding box when you crop the table. See the objects_to_crops function as an example, it has a padding argument that you can use to crop out the table with additional space around it.
below table detection exactly crops the table.. but i need to some gap in right and left side... because when we pass the table crop image to ocr edges values were mismatche...
How to adjust resize value.. i have set max resize into 800
@bsmock @msftgits @themanojkumar @NielsRogge