Basically I want to detect and get the bounding box of the figures or drawings which are in pdf using python, enter image description here As per the image I just want the bounding box of the figure right below the question, but it also detects the "-" present in the options.
So I tried using the fitz_page.get_drawings() method from fitz library and it helps in replicating the images on another pdf file, but doesn't help in differentiating when the first figure ends and the second starts. I just want the x-y coordinates of the bounding box for each figure separately.