Research Article Open Access

Online Handwritten Physics Expression Recognition Using a CRNN-LSTM Approach

Ujwala Pritam Kolte1 and Sachin Arun Naik2
  • 1 Faculty of Computer Studies, Symbiosis International (Deemed University), Pune, India
  • 2 Department of Computer Science and Applications, Dr. Vishwanath Karad MIT World Peace University, Kothrud, Pune, India

Abstract

Optical Character Recognition (OCR) is crucial for identifying and extracting information from scientific documents. However, recognizing online handwritten physics expressions remains a relatively unexplored area of research. In the existing literature, most of the researchers worked on CNN classification to identify mathematical expressions. The traditional Convolution Neural Network (CNN) has limitations for extracting sequential data. This study proposes a CRNN (Convolution Recurrent Neural Network)-LSTM (Long Short-Term Memory) model that uses sequence a to-sequence approach for recognition of online handwritten physics expressions to enhance the feature extraction process for the sequential data which overcomes the limitations of CNN. A dataset was constructed from 100 users using a Java-based interface, covering five commonly used types of physics expressions: (1) Electric flux; (2) Maxwell’s equations; (3) Inductance; (4) Pointing vector, and (5) Moment of inertia. This dataset identifies 25 unique Physics symbols. The Online Handwritten Physics Expression (OHPE) dataset comprises a total of 500 physics expressions, including operators, special symbols, alphabets, and numbers. The proposed architecture of CRNN-LSTM architecture consists of convolution layers followed by LSTM layers for sequence processing. CTC (Connectionist Temporal Classification) loss function is used to train the model, which is particularly used to predict the sequence of symbols within the physics expressions. The performance evaluation has been carried out and the accuracy of symbol level and expression level prediction is reported. In the final stage the trained model is evaluated to make the predictions on the unseen test set images with the recognition accuracy of 96.36% at the expression level and 98.10% at the symbol level.

Journal of Computer Science
Volume 21 No. 2, 2025, 263-272

DOI: https://doi.org/10.3844/jcssp.2025.263.272

Submitted On: 26 July 2024 Published On: 31 December 2024

How to Cite: Kolte, U. P. & Naik, S. A. (2025). Online Handwritten Physics Expression Recognition Using a CRNN-LSTM Approach. Journal of Computer Science, 21(2), 263-272. https://doi.org/10.3844/jcssp.2025.263.272

  • 217 Views
  • 88 Downloads
  • 0 Citations

Download

Keywords

  • Physics Expression Recognition
  • Segmentation
  • Convolutional Neural Network
  • Recurrent Neural Network
  • Long Short-Term Memory Networks