After writing the code for MNIST handwritten digits, how can I use it to predict new images?
I read the image using PIL and now I’m stuck.
I don’t know how to convert it into 28*28 and also to gray scale in the script.
Is the any way to do this conversion it in the script or do I have to do it manually for every image?