I have an image that has a yellow box inside. How can I crop the image so that only the yellow box remains?
I am asking because inside the box is text I want to read. There is also text behind the box and it messes up the OCR reading. (OCR is compulsory in this case). If the image is cropped so that only yellow box remains, the text reads correctly. The yellow box changes its shape, size and position in a way that I cannot know where to crop the image beforehand.
Example image of my case: