Research Article

Handwritten Digit Recognition Based on TensorFlow Framework

Yifan Li*
North China University of Technology, Shijingshan District, Beijing, China

* Corresponding author: [email protected]

Abstract

This study investigates the widespread application of convolutional neural networks (CNNs) in the field of handwritten digit recognition. To address the challenge of style variability in handwritten digit datasets, an efficient recognition model is proposed. The model is developed using the TensorFlow framework and enhances feature extraction and classification performance through the integration of convolutional layers, pooling layers, ReLU activation functions, batch normalization, and dropout techniques. The MNIST dataset is employed for experimentation. The model is trained using the Adam optimizer and achieves an accuracy of 98.75%, demonstrating the high effectiveness of CNNs in handwritten digit recognition. Furthermore, the study examines the model’s limitations in recognizing dynamically sized images and complex mathematical expressions and proposes potential improvements, such as learning rate adjustment and image size standardization.

Keywords: computer vision; convolutional neural network (CNN); handwriting recognition
Published: July 4, 2025
DOI: 10.54254/2755-2721/2025.PO24694
Volume: ACE Vol.157
pp. 172-178
Download PDF

References

  1. Li, S. F., & Gao, F. Q. (2017). Handwritten numeral recognition based on convolutional neural network. Journal of Zhejiang Sci-Tech University (Natural Sciences), 37(3), 6.
  2. Huang, R., Lu, S. M., & Wu, Y. L. (2018). Handwriting digit recognition and application based on TensorFlow deep learning. Application of Electronic Technique, 44(10), 5.
  3. Tang, J. B., Li, W. J., Zhao, B., & Xi, L. P. (2022). Research on handwritten digits recognition method based on convolutional neural network. Electronic Design Engineering, 30(21), 189–193. https: //doi.org/10.14022/j.issn1674-6236.2022.21.040
  4. Ji, X. (2023). A research and application of handwritten digit recognition based on convolutional neural networks. Information & Computer, 35(12), 169–171, 183.
  5. Dutta, K. (2018). Improving CNN-RNN hybrid networks for handwriting recognition. In 2018 16th International Conference on Frontiers in Handwriting Recognition (ICFHR).
  6. Yang, G., He, D. G., & Dai, L. Z. (n.d.). Improved handwritten digit recognition based on CNN and PSO-SVM. Journal of East China Jiaotong University, 37(4), 7.
  7. Deepa, S. (2023). Handwritten digit recognition using multilayer deep convolutional neural network. In 2023 Third International Conference on Smart Technologies, Communication and Robotics (STCR).
  8. Srivastav, S. (2023). Handwritten digit recognition using fine-tuned convolutional neural network model. In 2023 Third International Conference on Smart Technologies, Communication and Robotics (STCR).
  9. Zhang, M. Y., Ye, H. C., Yuan, X. F., & Chen, H. Y. (2024). Cross-domain author-adaptive handwritten recognition based on CNN-ISVM. Computer Technology and Development, 34(12), 187–193. https: //doi.org/10.20165/j.cnki.ISSN1673-629X.2024.0235