I made a machine learning project that can detect any digit (0-9), using a 28*28 pixel image. The model is using Tensorflow, Keras, Opencv(CV2) and Matplotlib. This is a pretty good model as after multiple runs, the accuracy has been nearly ~(97%).
MNIST dataset present is Keras Lib, consisting almost 60000 training exmaples and 10000 testing examples.
- A neural network consisting of three 'Dense'(Fully Connected) layers, the first two layers having 128 units each and last layer having 10 units.
- First two layers utilizes the 'Relu' activation whereas last layer is using 'Softmax' activation, which gives the final output.
- While, compiling the model, 'Adam Optimizer' is used with a learning rate= 0.001.