I am a just starting with opencv so I am looking for your advice. I need to process images and extract text from it. So far it all works well except images with frames.
Here is an example. In this case frame is white. (border on the edge is just to show image dimension)
Here is another example with a grey frame.
Please give me some tips how I can cut image out of the frame with python.
Thank you in advance!