Skip to content

mirzayasirabdullahbaig07/HandWritten-Classification-Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✍️ Handwritten Digit Recognition App (MNIST)

An AI-powered web application built with Streamlit that recognizes handwritten digits (0–9) using a Convolutional Neural Network (CNN) / Neural Network model trained on the MNIST dataset.


🚀 Demo

🔗 Live App on Streamlit

🚀 Video Demo

Handwritten-Prediction.webm

📌 Features

  • Recognizes handwritten digits (0–9).
  • Interactive drawing canvas to write digits directly.
  • Option to upload digit images for prediction.
  • Powered by a trained MNIST deep learning model.
  • User-friendly Streamlit interface.
  • Includes an About Me sidebar with portfolio links.

🔍 Usage

  1. Open the app in your browser.
  2. Draw a digit (0–9) in the canvas OR upload a digit image.
  3. Click Predict.
  4. The model will display the recognized digit.

📊 Dataset

The model is trained on the famous MNIST dataset:

  • Training Data: 60,000 images

  • Test Data: 10,000 images

  • Image Dimensions: 28×28 pixels, grayscale

  • Classes (Labels):

    • Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

⚙️ Tech Stack

  • Python 3.9+
  • Streamlit (Frontend Web App)
  • NumPy & Pandas (Data Processing)
  • Matplotlib & Seaborn (Visualization & Confusion Matrix)
  • OpenCV (Image Processing)
  • TensorFlow / Keras (Deep Learning Model)

📸 Screenshots

🏠 Home Page

image

✍️ Digit Drawing & Prediction

image

✍️ Digit Drawing & Prediction

image

✍️ Digit Drawing & Prediction

image

👨‍💻 Author

Mirza Yasir Abdullah Baig


❤️ Acknowledgements


⚠️ Disclaimer

This project is for educational purposes only.
It is not intended for commercial use but as a demonstration of deep learning in computer vision.


About

Handwritten Digit Classifier using a trained MNIST model. Draw or upload a digit (0-9) and get its predicted value instantly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages