How dilatuanaucar/handwritten-digit-recognizer works
Project type and purpose
• This is a standalone Python desktop application that implements a Convolutional Neural Network (CNN) for handwritten digit recognition.
• It has two main functions:
• train_digit_recognizer.py – trains the CNN on the MNIST dataset and saves the model (mnist.h5).
• gui_digit_recognizer.py – launches a Tkinter GUI for drawing digits and classifying them using the trained model.
File structure
• Top‐level: .gitignore, .gitattributes, README.md
• Directory “Handwritten digit recognizer”:
• .idea/ – IDE project files (can be excluded or treated as metadata)
• train_digit_recognizer.py – training pipeline
• mnist.h5 – serialized Keras model artifact
• gui_digit_recognizer.py – GUI front end and inference engine
README for additional insights
• Confirms use of Keras for CNN layers (convolution + pooling).
• Uses built-in MNIST dataset loader.
• Requires data preprocessing (reshape + normalize) before feeding into the model.
• Uses Tkinter to render a canvas, capture strokes, preprocess the drawn image, and run inference on the model file.
Additional notes
• CNN block with layer types (Conv2D, MaxPooling2D, Dense).
• If desired, include a callout noting dependency on Python environment and library versions.