How can I predict my own Handwritten digit?

when I trained and test my ANN with MNIST it worked but when I am trying to predict my own handwritten digit(captured by cellphone) it’s predicting always 3 where I’m giving image of 1,0,8.


The posted image might not be recognized properly, as it seems to have some background noise.
You could try to binarize your input image (or at least try to remove the background noise using a threshold).
Also, you could first try to classify “fake” written images created in paint or any other editor.
This would make sure to have a perfect image without any artifacts. If that’s working, you might need to add some preprocessing to your cellphone pictures.

1 Like