Skip to content
Open access

Handwritten Polynomial Equation Recognition Using CNN and Symbolic Solution with SYMPY

Jul 2026 · Journal of Sciences and Engineering · 0 citations · 9 references

TL;DR

This study presents an easy-to-use system that can recognize and solve handwritten polynomial equations using a Convolutional Neural Network, and supports basic mathematical symbols, providing an accurate and user-friendly educational tool.

Abstract

This study presents an easy-to-use system that can recognize and solve handwritten polynomial equations using a Convolutional Neural Network (CNN). To achieve this, we began by collecting digits and math symbols from various publicly available sources. We began with a dataset of around 30,000 samples, then converted the images to grayscale, inverted them, applied binary thresholding, and removed noise to clean them up. Individual symbols are then separated using OpenCV, and a custom-trained CNN model classifies each symbol. We used 16 classes to classify our data. To ensure the model’s ability to detect symbols increases and produces efficient results, we expanded our data set through data augmentation to over 100, 000 images. CNN, built using Keras, achieved an impressive 98.99% classification accuracy, reliably identifying each character during training. Once the symbols are recognized, they are combined to form a complete equation. For normal equations, the system uses the eval () function to evaluate expression, providing quick, dynamic solutions . For polynomial equations of up to the third degree, SymPy is utilized for symbolic computation, providing accurate and detailed solutions. The solution is presented through a PyQt5-based user interface, that allows users to upload their handwritten equations and view the solved results. The proposed method supports polynomial equations with variables and basic mathematical operators, providing an accurate and user-friendly educational tool. The system supports basic mathematical symbols (+, –, ×, =, x, y). It can handle polynomial equations up to the third degree, which will be beneficial for students learning algebra or for quick problem solving.

Read PDF

Similar papers

Open access Jul 2026

Handwritten Digit Recognition Using Deep Learning

The Handwritten Digit Recognition System is a machine learning and deep learning–based project developed to accurately identify handwritten numerical digits from input images by using image processing techniques and a Convolutional Neural Network model trained on the MNIST dataset.

R. Rajesh, P. Sravani · 0 citations
Open access Jul 2026

Integrating Fuzzy Logic and Fractional-Order Operators in Convolutional Neural Networks for Handwritten Digits and Characters Recognition

This study focuses on enhancing handwritten Devanagari character recognition using deep learning models, specifically fine-tuned Convolutional Neural Networks (CNNs), combined with hybrid mathematical methods for image enhancement, proposing a fuzzy-enabled Power-Law transformation for image enhancement.

Akshara Sreenivasan, Vinodkumar Vinodkumar Arumugam, Sriramakrishnan Pathmanaban et al. · 0 citations
Jul 2026

Handwritten Character Recognition Using Deep Learning

A deep learning-based handwritten character recognition system that leverages Convolutional Neural Networks for automatic feature extraction and classification and highlights the effectiveness of deep learning techniques in enhancing recognition performance and reducing classification errors compared to conventional ma...

Shwetha M R Shwetha M R, Kowshik S S Kowshik S S · 0 citations
Open access 2026

Comparative Analysis of Custom and Pre-Trained Convolutional Neural Networks (CNNs) for Object Recognition on the Cifar-10 Dataset

This study compares a custom CNN with three pre-trained models on the CIFAR-10 dataset, which comprises 60,000 colour images (32×32 pixels) across 10 categories, and shows that pre-trained models performed much better than the customised model.

Oluwadamilare (Asabia) Joseph Omoniyi, Omotosho Olawale Jacob, Ajaegbu Chigozirim et al. · 0 citations
Open access Aug 2026

Performance Comparison of Support Vector Machine and Decision Trees for the Classification of Handwritten Digits

Evaluated and compares the performance of Support Vector Machine and Decision Tree classifiers for handwritten digit recognition using the Modified National Institute of Standards and Technology (MNIST) dataset and indicates that SVM provides superior classification performance for handwritten digit recognition, while...

Bilikisu Temilade Azeez, Stephen Olatunde Olabiyisi, Modupe O. Alade et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.