English Review
English Review
********************* *********************
PAIX-TRAVAIL-PATRIE PEACE-WORK-FATHERLAND
************** **************
GROUP MEMBERS
NAMES IDENTIFIER
DIFFO NZEKOUO HELOISE LAETICIA 21S56721
DONGMO NGUETSOP LAURIE 22S74044
FOUEGANG KEMKA MELI ERIC 22S73742
KONA TETGA ADRIANA ESTHER 22S73865
NDJEUMBA LAURAINE 18S14763
NGNANKOUO MEGNA FADILA 22S76817
NGO MATJABO PRICILLE ANGE ETOILE 22S74294
SONKOUE NGUEYON ELVIRA SOREL 21S57280
TIAKO DJIEUGA LOIC 22S76819
WAFO MURIELLE YOLIE 22S74701
WELADJI NYAMI HILARY FORTUNE 23S91003
TABLE OF CONTENTS
I. Abstract....................................................................................................................................................................... 5
II. Project’s guide ............................................................................................................................................................ 5
1) Abstract.................................................................................................................................................................. 5
2) Introduction ........................................................................................................................................................... 5
3) Literature Review ................................................................................................................................................... 6
4) Methodology ......................................................................................................................................................... 6
a) Data Collection and Preprocessing .................................................................................................................... 6
b) Model Development ......................................................................................................................................... 7
c) System Architecture .......................................................................................................................................... 9
d) Test and Validation ............................................................................................................................................ 9
5) Results.................................................................................................................................................................. 10
6) Discussion ............................................................................................................................................................ 10
7) Conclusion ........................................................................................................................................................... 10
a) Summary of findings ....................................................................................................................................... 10
b) Future Work .................................................................................................................................................... 10
References ........................................................................................................................................................................ 12
Appendices ....................................................................................................................................................................... 13
1) Confusion Matrix ................................................................................................................................................. 13
2) Accuracy and Loss Graphs ................................................................................................................................... 13
3) System interface Screenshots .............................................................................................................................. 14
I. List of figures
2) Introduction
The increasing reliance on digital automation has highlighted the need for efficient handwritten character
recognition systems, particularly in industries such as banking, education, and public administration, where
handwritten numerical data must be processed quickly and accurately. Traditional manual methods are time-
consuming and prone to errors, while conventional Optical Character Recognition (OCR) systems struggle
with variations in handwriting styles. To address these challenges, this project aims to develop a machine
learning-based web application capable of recognizing handwritten digits with high accuracy. The primary
objectives include designing an intuitive interface for digit input, ensuring a recognition accuracy of over 95%
and validating the system through extensive testing.
3) Literature Review
Several machine-learning approaches have been explored for handwritten digit recognition. Traditional
methods like Support Vector Machines (SVMs) and K-Nearest Neighbors (KNN) have demonstrated moderate
success but struggle with complex handwriting variations. Recent advancements in deep learning, particularly
CNNs, have significantly improved accuracy by automatically learning spatial hierarchies of features. The
MNIST dataset, widely used for benchmarking recognition models, provides a standardized dataset of 70,000
grayscale images of handwritten digits (0-9).
4) Methodology
a) Data Collection and Preprocessing
The dataset used for training and testing the handwritten digit recognition system is the MNIST dataset, which
contains 70,000 grayscale images of digits ranging from 0 to 9. To ensure consistency and compatibility with
the model, all images are resized to 28×28 pixels and converted to grayscale. Preprocessing techniques such
as normalization are applied to scale pixel values between 0 and 1, improving the model’s ability to learn
patterns effectively. Additionally, data augmentation techniques, including rotation and shifting, are used to
enhance model generalization and reduce overfitting.
Figure 3:stride
b) Model Development
The system is built using a convolutional neural network (CNN), a deep learning architecture well-suited for
image recognition tasks. The CNN consists of multiple convolutional layers that extract spatial features,
pooling layers that reduce dimensionality, and fully connected layers that perform classification. The model is
implemented using TensorFlow and Keras, with the Adam optimizer and categorical cross-entropy as the loss
function to enhance learning efficiency. The training process involves multiple iterations (epochs) with an
adaptive learning rate to optimize performance.
Figure 4:Layer Max Pooling
c) System Architecture
The handwritten digit recognition model is deployed as a web-based application to enable user accessibility.
The backend, developed in Python using Flask, processes uploaded images and feeds them into the trained
CNN model for classification. The frontend, designed with HTML, CSS, and JavaScript, provides an intuitive
interface where users can input handwritten digits via image upload or camera capture. The system then
displays the predicted digit along with a confidence score.
6) Discussion
The results indicate that the convolutional neural network (CNN) model effectively classifies handwritten
digits with high accuracy, outperforming traditional machine learning approaches such as Support Vector
Machines (SVM) and K-Nearest Neighbors (KNN). The model’s success can be attributed to its ability to
automatically extract spatial hierarchies of features, enabling it to handle diverse handwriting styles.
7) Conclusion
a) Summary of findings
This study successfully developed a machine learning-based handwritten digit recognition system with a web
application interface. By leveraging CNNs, the model achieved a high recognition accuracy of 96.8%,
demonstrating its potential for real-world applications in banking, education, and public administration. The
system met the defined performance criteria and ensuring accuracy in digit classification.
b) Future Work
While the results are promising, future work should focus on further optimizing the model to handle complex
handwriting variations. Additionally, expanding the dataset with diverse handwriting samples and exploring
mobile or offline deployment options could enhance the system’s usability.
References
1. LeCun, Y., Bottou, L., Bengio, Y., & Haffner, P. (1998). Gradient-based learning applied to document
recognition. Proceedings of the IEEE, 86(11), 2278–2324.
2. Deng, L. (2012). The MNIST database of handwritten digit images for machine learning
research. IEEE Signal Processing Magazine, 29(6), 141–142.
3. Goodfellow, I., Bengio, Y., & Courville, A. (2016). Deep Learning. MIT Press.
4. Chollet, F. (2017). Deep Learning with Python. Manning Publications.
5. Geron, A. (2019). Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow (2nd
ed.). O’Reilly Media.
6. MNIST Handwritten Digit Database. (n.d.).
Appendices
1) Confusion Matrix
A confusion matrix showing correct and incorrect predictions across digit classes (0-9), used to analyzed
performance and misclassification trends .