A Classical Machine Vision Pipeline for MNIST Handwritten Digit Recognition: LBP and HOG Features with From-Scratch J2 Discriminant Compression

Authors

  • Arooba Akhtar Department of Computer Science, Hazara University Dhodial, Mansehra, Pakistan Author
  • Shahzeb Jadoon Department of Computer Science, Abbottabad University of Science and Technology (AUST), Pakistan Author
  • Shanza Mehboob Department of Computer Science, Abbottabad University of Science and Technology (AUST), Pakistan Author
  • Sohair Sultan Fayyaz Jeelani Department of Computer Science, Abbottabad University of Science and Technology (AUST), Pakistan Author
  • Iqra Khalid Department of Computer Science, Abbottabad University of Science and Technology (AUST), Pakistan Author
  • Nida Zainab Department of Computer Science, Abbottabad University of Science and Technology (AUST), Pakistan Author

DOI:

https://doi.org/10.66021/

Keywords:

MNIST, LBP, HOG, J2 Criterion, Fisher Discriminant, Feature Compression, SVM, LDA, Handwritten Digit Recognition

Abstract

This paper presents the full pipeline for MNIST handwritten digit recognition using Machine Learning. The pipeline consists of three stages: (1) feature extraction using Local Binary Pattern (LBP) and Histogram of Oriented Gradients (HOG) descriptors; (2) feature compression using the J2 criterion (Fisher’s discriminant criterion), without using any sklearn LDA; (3) classification using Support Vector Machine (SVM) with an RBF kernel and Linear Discriminant Analysis (LDA). The MNIST dataset is used with 10,000 and 2,000 samples for training and testing, respectively, across six methods. The maximum accuracy of 95.95% was obtained with combined LBP+HOG features, J2 compression, and SVM classification, reducing the 342-dimensional features to 9 discriminant components. The results show that HOG features significantly improve digit recognition compared to LBP alone, and that the J2 criterion can be useful for maximizing class separability and drastically reducing dimensionality.

 

 

Downloads

Download data is not yet available.

Downloads

Published

2026-03-31

How to Cite

A Classical Machine Vision Pipeline for MNIST Handwritten Digit Recognition: LBP and HOG Features with From-Scratch J2 Discriminant Compression. (2026). Annual Methodological Archive Research Review, 4(3), 828-850. https://doi.org/10.66021/

Similar Articles

1-10 of 273

You may also start an advanced similarity search for this article.