Handwritten Digit Recognition OCR App
The Handwritten Digit Recognition OCR system is a computer vision application that captures, processes, and identifies handwritten numerical digits (0–9) from image inputs. The system uses Deep Learning Convolutional Neural Network (CNNs) to extract structural features from handwritten strokes and classify them with high accuracy. Users can either upload a digital image containing handwritten numbers or draw digits directly onto a real-time digital canvas interface. The primary objective is to bridge the gap between human handwriting and machine-readable text.
Functional Requirements:
1. Data Processing & User Interface
a) Canvas Drawing Mode: Provide an interactive GUI canvas where users can draw a digit using a mouse.
b) Image Upload Support: Allow users to upload scanned images or photos containing handwritten numbers (.jpg, .jpeg, .png).
c) Preprocessing: Automatically resize input images to 28 × 28 pixels, convert them to grayscale, invert colors if necessary (white digit on a black background), and normalize pixel values between 0 and 1 to match model training standards.
2. Recognition Engine
a) Character Segmentation: Scan larger uploaded images, detect individual contours, and segment multi-digit lines into isolated single-digit bounding boxes.
b) Real-time Inference: Feed the preprocessed image into the trained neural network model to predict the digit instantly.
c) Confidence Metrics: Display the final predicted number along with a percentage-based confidence score for the prediction.
-
Tools & Technologies
- Python 3.x ,TensorFlow / Keras or PyTorch, OpenCV (cv2), NumPy, Tkinter (For Desktop Development), MNIST Dataset
Faisal Mehmood
Faisal Mehmood Expert in CS619 Final Year Projects and software development.
View all projects