Draw the main rectangle in CV2 for layout analysis
I’m currently developing a resume extractor and i’m in a phase of test with several modules. Right now, i want to draw the rectangles surrounding the main parts of a resume. Thanks to pytesseract i have each box the layout analysis + OCR can detect but I can’t print only the important ones. I tried to calculate the surface of the full page and not consider the rectangle bigger than the page but it’s not working.