Automated Data Extraction and Character Recognition for Handwritten Test Scripts Using Image Processing and Convolutional Neural Networks

Authors

  • David Agbemuko Afe Babalola University of Ado-Ekiti
  • Imhade Okokpujie
  • Momoh J. E. Salami
  • Lagouge K. Tartibu

Keywords:

Data Extraction, Character Recognition, Convolutional Neural Networks, Handwritten Test Scripts, Image Processing

Abstract

Evaluating students through examination scripts in educational environments is crucial, particularly with 'Mastery Feedback' from educators, enhancing student understanding and self-regulation. However, it has remained a hectic exercise requiring some innovative solutions. This study proposes integrating robotics to automate recording and collating marked scripts to reduce the burden on lecturers and improve productivity. Key objectives include developing a data extraction pipeline using methods like Oriented FAST and Rotated BRIEF (O.R.B.) for image alignment and adaptive thresholding for lighting variations. Additionally, a character recognition model using a Single Input Convolutional Neural Network (SICNN) was designed with three preprocessing techniques—binarisation, thinning, and gradient magnitude calculation—tailored to different image requirements. Training on the 'EMNIST by_merge' dataset showed varied validation accuracies, with the gradient input SICNN model achieving the highest at 89.24% overall and the binary input SICNN model excelling with 99.39% on custom scripts. This approach aims to enhance educational administrative processes and efficiency and thus achieve sustainable education.

References

D.I. Agbemuko and I.P. Okokpujie: Conceptualization, Methodology, Writing – original draft. L.K. Tartibu: Data curation, Project administration, I.P. Okokpujie and M.J.E. Salami: Supervision. D.I. Agbemuko and I.P. Okokpujie: Visualization, Software. D.I. Agbemuko, I.P. Okokpujie, and M.J.E. Salami: Writing – review & editing. D.I. Agbemuko and I.P. Okokpujie: Investigation, Resources. I.P. Okokpujie: Formal analysis. L.K. Tartibu: Validation.

REFERENCES

Abedi, R., Nili Ahmadabadi, M. R., Taghiyareh, F., Aliabadi, K., &PourroustaeiArdakani, S. (2021). The effects of personalised learning on achieving meaningful learning outcomes. Interdisciplinary Journal of Virtual Learning in Medical Sciences, 12(3), 177–187.

Agrawal, A. K., Shrivas, A. K., & Kumar Awasthi, V. (2021, May). A Robust model for handwritten digit recognition using machine and deep learning techniques. In 2021 2nd International Conference for Emerging Technology (INCET), IEEE, pp. 1-4

Anggraeny, F. T., Via, Y. V., &Mumpuni, R. (2023). Image preprocessing analysis in handwritten Javanese character recognition. Bulletin of Electrical Engineering and Informatics, 12(2), 860-867.

Añulika, E. A., Bala, E., &Nyap, C. D. (2014). Design and Implementation of result processing system for public secondary schools in Nigeria. International Journal of Computer and Information Technology, 3(01), p. 1.

Bappi, J. O., Rony, M. A. T., & Islam, M. S. (2024). BNVGLENET: Hypercomplex Bangla handwriting character recognition with hierarchical class expansion using Convolutional Neural Networks. Natural Language Processing Journal, 7, 100068, p. 10.

Bennour, A., Boudraa, M., Siddiqi, I., Al-Sarem, M., Al-Shabi, M., &Ghabban, F. (2024). A deep learning framework for historical manuscripts writer identification using data-driven features. Multimedia Tools and Applications, 1-27.

Bloechle, J. L., Hennebert, J., & Gisler, C. (2023, August).YinYang a fast and robust adaptive document image binarisation for optical character recognition. In Proceedings of the A.C.M. Symposium on Document Engineering 2023, pp. 1-4.

Bose, S. R., Singh, R., Joshi, Y., Marar, A., Regin, R., & Rajest, S. S. (2024). Light weight structure texture feature analysis for character recognition using progressive stochastic learning algorithm. In Advanced Applications of Generative A.I. and Natural Language Processing Models, ISBN13: 9798369305027, I.G.I. Global, pp. 144–158.

Cao, N., & Liu, Y. (2024). High-noise grayscale image denoising using an improved median filter for the adaptive selection of a threshold. Applied Sciences, 14(2), 635.

Chen, L., Chen, P., & Lin, Z. (2020). Artificial intelligence in education: A review. IEEE Access, 8, 75264-75278.

Chitradevi, B., & Srimathi, P. (2014). An overview on image processing techniques. International Journal of Innovative Research in Computer and Communication Engineering, 2(11), 6466–6472.

Crawford, C. (2017). EMNIST (Extended MNIST). https://www.kaggle.com/datasets/crawford/emnist

El Naqa, I., & Murphy, M. J. (2015). What is machine learning? (pp. 3–11). Springer International Publishing.

Elen, A., & Dönmez, E. (2024). Histogram-based global thresholding method for image binarisation. Optik, 306, p. 171814.

Forsyth, D. A., & Ponce, J. (2002). Computer vision: a modern approach. Prentice Hall Professional Technical Reference.

Ghazal, T. M. (2022).Convolutional neural network-based intelligent handwritten document recognition. Computers, Materials & Continua, 70(3), 4563-4581.

Ghazal, T. M., Hasan, M. K., Ahmad, M., Alzoubi, H. M., &Alshurideh, M. (2023). Machine Learning Approaches for Sustainable Cities Using Internet of Things. In The Effect of Information Technology on Business and Marketing Intelligence Systems, Cham: Springer International Publishing, pp. 1969-1986

Gupta, S., Kumar, M., & Garg, A. (2019). Improved object recognition results using SIFT and O.R.B. feature detector. Multimedia Tools and Applications, 78(23), 34157–34171.

Hamet, P., & Tremblay, J. (2017). Artificial intelligence in medicine. Metabolism, 69, S36-S40.

Kickert, R., Meeuwisse, M., M. Stegers-Jager, K., V. Koppenol-Gonzalez, G., R. Arends, L., &Prinzie, P. (2019). Assessment policies and academic performance within a single course: The role of motivation and self-regulation. Assessment & Evaluation in Higher Education, 44(8), 1177-1190.

Kolbjørnsrud, V., Amico, R., & Thomas, R. J. (2016). How artificial intelligence will redefine management. Harvard Business Review, 2(1), 3-10.

LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. nature, 521(7553), 436-444.

Mahesh, B. (2020). Machine learning algorithms a review. International Journal of Science and Research (IJSR), 9(1), 381–386.

Michalak, H., & Okarma, K. (2020). Robust combined binarisation method of non-uniformly illuminated document images for alphanumerical character recognition. Sensors, 20(10), 2914.

Ouyang, F., & Jiao, P. (2021). Artificial intelligence in education: The three paradigms. Computers and Education: Artificial Intelligence, 2, p. 100020.

Paneru, S., & Jeelani, I. (2021). Computer vision applications in construction: Current state, opportunities & challenges. Automation in Construction, 132, p. 103940.

Petrou, M. M., & Petrou, C. (2010). Image processing: the fundamentals. John Wiley & Sons.

Prilop, C. N., Weber, K. E., & Kleinknecht, M. (2021). The role of expert feedback in developing pre-service teachers' professional vision of classroom management in an online, blended learning environment. Teaching and Teacher Education, 99, p. 103276.

Rahman, M. M., & Rinty, M. R. (2023). Text Information Extraction from Digital Image Documents Using Optical Character Recognition. In Computational Intelligence in Image and Video Processing, Chapman and Hall/C.R.C, pp. 1–31.

Ren, J., Wang, J., Chen, R., Li, H., Xu, D., Yan, L., & Song, J. (2024). Remote sensing identification of shallow landslide based on improved Otsu algorithm and multi-feature threshold. Frontiers in Earth Science, 12, 1473904.

Saldaña, E., Siche, R., Luján, M., & Quevedo, R. (2013). Computer vision is applied to the inspection and quality control of fruits and vegetables. Brazilian journal of food technology, 16, 254-272.

Sambath, S. (2023). Novel Approach to High Accuracy and Efficiency Optical Character Recognizer for Handwritten Digits.

Song, J., Jiao, W., Lankowicz, K., Cai, Z., & Bi, H. (2022). A two-stage adaptive thresholding segmentation for noisy low-contrast images. Ecological informatics, 69, p. 101632.

Tareen, S. A. K., & Saleem, Z. (2018, March). A comparative analysis of sift, surf, kaze, akaze, orb, and brisk. In 2018 International Conference on Computing, Mathematics and Engineering Technologies (iCoMET), IEEE, pp. 1-10.

Toennies, K. D., & Toennies, K. D. (2012). Image Storage and Transfer. Guide to Medical Image Analysis: Methods and Algorithms, 83-109.

Wiley, V., & Lucas, T. (2018). Computer vision and image processing: a paper review. International Journal of Artificial Intelligence Research, 2(1), 29–36.

Ying, S., Fang, J., Tang, S., & Bao, W. (2024). Improved YOLOV5 Angle Embossed Character Recognition by Multiscale Residual Attention with Selectable Clustering. Electronics, 13(13), 2435.

Zheng, T., Chen, Z., Fang, S., Xie, H., & Jiang, Y. G. (2024). Cdistnet: Perceiving multidomain character distance for robust text recognition. International Journal of Computer Vision, 132(2), 300-318.

Published

2024-12-29