I have made a couple of images which I need for a CNN using matplotlib. But I would like to read only the base of the image (without the axis and the whitespace), because I found out that my CNN which uses keras and tensordlow reads the whole image (meaning that the numbers on the axis have a big impact on the prediction). Any ideas on how can I do that?
Note that I already have an image with the axis and the whitespace. I am just wondering how can I edit them out.
This is the full image:
And this is what I need to use: