Adaptive Geometry-Aware Preprocessing for Robust Handwritten Digit Recognition

This research presents an adaptive geometry-aware preprocessing approach for improving the robustness of handwritten digit recognition systems under real-world image variations. Conventional digit recognition models are typically trained on clean, centered MNIST images, whereas deployment inputs may contain shifted digits, transparent backgrounds, noise, scaling variations, blur, and compression artifacts. This study investigates how much robustness can be recovered through preprocessing alone, without retraining or modifying the underlying classifier. A compact Convolutional Neural Network (CNN) trained on the MNIST dataset is evaluated using four preprocessing pipelines: raw resizing, conventional crop-and-center normalization, Otsu-based preprocessing, and the proposed adaptive geometry-aware approach. The proposed method combines alpha-channel flattening, border-based background polarity estimation, and conditional geometric normalization. It applies crop-and-scale operations only when the input digit is incorrectly positioned or sized. Experiments are conducted on the complete 10,000-image MNIST test set across 23 corruption conditions. The proposed approach achieves 98.81% clean accuracy, 98.81% accuracy on transparent inputs, 95.34% accuracy on 0.6× scaled digits, and 77.87% accuracy under severe combined corruption. It achieves an average accuracy of 94.00% across the evaluated conditions. The findings demonstrate that adaptive preprocessing can improve robustness while preserving much of the original classifier's clean-image performance, without requiring model retraining. Keywords: Computer Vision, Handwritten Digit Recognition, MNIST, Image Preprocessing, Convolutional Neural Networks, Image Robustness, Adaptive Geometry, Deep Learning. Live Demonstration: https://handwritten-digit-recognition-4uqp.onrender.com/ Source Code: https://github.com/sharaddh/digit-recognition-CV The live application demonstrates the handwritten digit recognition system developed as part of this research. The source repository provides the implementation and experimental resources.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24780317
Primary Topic
Handwritten Text Recognition Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Adaptive Geometry-Aware Preprocessing for Robust Handwritten Digit Recognition

Rohit Prajapati, Sharad Rathore
Zenodo (CERN European Organization for Nuclear Research)
Handwritten Text Recognition Techniques
article

Adaptive Geometry-Aware Preprocessing for Robust Handwritten Digit Recognition

Rohit Prajapati, Sharad Rathore
article en

Abstract

This research presents an adaptive geometry-aware preprocessing approach for improving the robustness of handwritten digit recognition systems under real-world image variations. Conventional digit recognition models are typically trained on clean, centered MNIST images, whereas deployment inputs may contain shifted digits, transparent backgrounds, noise, scaling variations, blur, and compression artifacts. This study investigates how much robustness can be recovered through preprocessing alone, without retraining or modifying the underlying classifier. A compact Convolutional Neural Network (CNN) trained on the MNIST dataset is evaluated using four preprocessing pipelines: raw resizing, conventional crop-and-center normalization, Otsu-based preprocessing, and the proposed adaptive geometry-aware approach. The proposed method combines alpha-channel flattening, border-based background polarity estimation, and conditional geometric normalization. It applies crop-and-scale operations only when the input digit is incorrectly positioned or sized. Experiments are conducted on the complete 10,000-image MNIST test set across 23 corruption conditions. The proposed approach achieves 98.81% clean accuracy, 98.81% accuracy on transparent inputs, 95.34% accuracy on 0.6× scaled digits, and 77.87% accuracy under severe combined corruption. It achieves an average accuracy of 94.00% across the evaluated conditions. The findings demonstrate that adaptive preprocessing can improve robustness while preserving much of the original classifier's clean-image performance, without requiring model retraining. Keywords: Computer Vision, Handwritten Digit Recognition, MNIST, Image Preprocessing, Convolutional Neural Networks, Image Robustness, Adaptive Geometry, Deep Learning. Live Demonstration: https://handwritten-digit-recognition-4uqp.onrender.com/ Source Code: https://github.com/sharaddh/digit-recognition-CV The live application demonstrates the handwritten digit recognition system developed as part of this research. The source repository provides the implementation and experimental resources.

Zenodo (CERN European Organization for Nuclear Research)
ITM University (IN)
Handwritten Text Recognition Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon