Recently I’m working with data extraction using python, extracting data from pdf using pdfplumber, pymupdf i had a good result with these but I’m stuck with extracting images as all the images in the pdf are not extractable. so i tried cropping the image when found unique text from the page in pdf so i gave pre-defined coordinates to crop the image. but that’s not a good way to handle this situation 😅. previously i used opencv to capture the screenshot with pre-defined values.so if there is any way to capture a screenshot dynamically when found text in a pdf page.
so if there is any way to capture a screenshot dynamically when found text in a pdf page.