Duks31 / mnist-app

Mnist, DeepLearning, App Development

Home Page:https://duks31.github.io/mnist-app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mnist-app

8 test photo

Desription

MNIST overview

MNIST is a classic machine learning dataset that is often referred to as the "Hello World" of machine learning. It consists of a large set of handwritten digits, which are labeled with their corresponding numerical values.

The goal of machine learning models trained on the MNIST dataset is to correctly classify each digit image into its corresponding numerical value (0-9). This is a classification task, and various machine learning algorithms and techniques can be used to accomplish this.

Classifying MNIST Digits with Neural Networks

One popular approach to solving the MNIST classification task is by using neural networks. Neural networks are a type of machine learning algorithm that are modeled after the structure of the human brain. They consist of interconnected layers of artificial neurons, which can be trained to learn patterns in the input data.

In the case of the MNIST dataset, neural networks can be used to learn the features of the handwritten digits and to classify them into their corresponding numerical values. This is done by feeding the pixel values of each digit image into the neural network as input, and then using the output of the network to predict the digit value.

Neural networks can be trained using a variety of techniques, such as backpropagation, stochastic gradient descent, and convolutional neural networks (CNNs). CNNs, in particular, have been found to be highly effective for image classification tasks like MNIST.

Integrating MNIST Model into a Flutter App for Digit Recognition

After training a neural network on the MNIST dataset, the resulting model can be used for a variety of tasks. One such task might be to classify new images of handwritten digits. Another task might be to integrate the model into a larger application, such as a mobile app.

In my case, I used the trained MNIST model to create a mobile app using the Flutter framework. The app allows users to draw their own handwritten digits on the screen, and then uses the trained model to classify the digit and display the result.

This integration of the MNIST model into a Flutter app is a great example of how machine learning can be used to enhance the functionality of real-world applications. By leveraging the power of neural networks and the flexibility of Flutter, it was possible to create a unique and engaging user experience that wouldn't have been possible with traditional programming techniques alone.

Features

The app I created using the trained MNIST model has a key feature, it allows users to draw their own handwritten digits on the screen using their finger or a stylus. The app then uses the trained model to classify the digit and display the predicted numerical value on the screen.

Installation

click to download minstapp

Please note that the app I created using the MNIST model is currently only supported on Android devices. If you have an iOS device, I apologize for the inconvenience and encourage you to explore alternative apps or solutions for digit recognition.

when installing the apk into your mobile you bypass all the check that are given by google play protect and allow install.

Bugs and Model Accuracy

I am certainly aware that the app has some bugs (eg when drawing some numbers), also the model accuracy is not so high, so there may be times where what you draw isnt what is being predicted.

Acknowledgement

This project inspired by Aladdin Persson in his video

About

Mnist, DeepLearning, App Development

https://duks31.github.io/mnist-app/

License:MIT License


Languages

Language:Dart 36.5%Language:C++ 24.0%Language:Python 16.1%Language:HTML 10.5%Language:Swift 6.6%Language:Batchfile 5.6%Language:Kotlin 0.7%