Nepali Currency Denomination Classification Using Convolutional Neural Networks (CNNs) and MobileNetV2: An Experimental Comparison

Sakar Lamichhane, Sandesh Bhatta, Aayush Adhikari, Aaron SapkotaarXiv 2026

TL;DR

Recognizing crumpled banknotes in the wild is a classic computer vision challenge with real-world stakes for financial tech and assistive tools for the visually impaired. This study pits a standard Convolutional Neural Network (CNN) against lightweight MobileNetV2 models to classify Nepali currency—delivering a textbook reminder of why chasing high validation scores through hyperparameter tuning can quietly backfire on independent test data.

What Problem Does This Paper Address?

In places where cash remains king, automated banknote recognition is essential—especially for assistive apps that read denominations aloud to visually impaired users. While deep learning has largely solved currency classification for major notes like the US Dollar or Indian Rupee, those models don't automatically generalize to Nepali banknotes, which feature their own distinct color palettes, textures, and visual motifs.

Furthermore, comparing existing currency recognition papers is a bit of an apples-to-oranges headache because everyone uses different currencies, dataset sizes, and lighting conditions. The authors tackle this gap by running a controlled, side-by-side comparison of three deep learning setups on a unified seven-class Nepali currency task (Rs. 5, 10, 20, 50, 100, 500, and 1,000), and wrapping the result into a practical, voice-assisted web prototype.

Methods

Instead of inventing a brand-new neural architecture, the authors focus on a clean empirical comparison across three standard configurations:

  1. Baseline CNN: A conventional convolutional network built and trained from scratch.
  2. MobileNetV2 (Transfer Learning): A lightweight, mobile-friendly architecture using depthwise separable convolutions (which slice up standard convolutions to save compute), initialized with pre-trained weights and fine-tuned on Nepali notes.
  3. Hyperparameter-Tuned MobileNetV2: Extending the second setup using Keras Tuner’s random search to optimize learning rates ($10^{-3}$ to $10^{-5}$), batch sizes, dropout rates, and dense-layer sizes based on validation accuracy.

All input images were resized to $128 \times 128$ pixels, normalized, and fed through standard data augmentations (rotations, flips, zoom, and brightness shifts) to mimic messy, real-world camera angles. Finally, to prove deployment feasibility, the authors converted the model to TensorFlow Lite and built a Flask web app supporting both image uploads and live webcam feeds, complete with text-to-speech audio announcements.

Datasets

Because standardized Nepali banknote benchmarks are scarce, the authors compiled a dataset of 16,249 images pulled from public repositories and supplemented with their own high-resolution camera photos across varied backgrounds and lighting.

The split was intentionally structured with a twist:

  • Training set: 10,500 images (perfectly balanced at 1,500 per class).
  • Validation set: 3,500 images (perfectly balanced at 500 per class).
  • Test set: 2,249 independent images with an unequal class distribution—heavily skewed toward Rs. 100 (661 images), Rs. 10 (513), and Rs. 20 (485), while denominations like Rs. 5 had only 130 images.
Class distributions across the balanced training/validation sets and the imbalanced independent test set.

Key Insights and Ideas

  • The Hyperparameter Tuning Trap: Here is the paper's best "aha" moment for ML practitioners. Tuning MobileNetV2 pushed validation accuracy to an impressive 95%. Yet on the held-out test set, accuracy dropped to 84%—performing worse than both the untuned MobileNetV2 (89%) and the basic from-scratch CNN (85%). Selecting hyperparameters strictly on a clean, balanced validation set subtly overfit the model's configuration to validation quirks, hurting its generalization on the messy, imbalanced test set.
  • Visual Twin Confusion: Error and precision-recall analyses revealed that the models struggled most with the Rs. 50 and Rs. 100 notes. Similar color schemes and design elements—compounded by folds, motion blur, or fingers partially covering the note—easily tricked the classifiers.
  • Lightweight Wins: Standard transfer learning with MobileNetV2 hit the sweet spot right out of the box, proving you don't need heavy compute or aggressive tuning to deploy a responsive, voice-assisted web tool.

Key Results

  • Basic CNN: 87% validation accuracy | 85% test accuracy (Precision: 0.83, Recall: 0.81, F1: 0.82). As seen in its learning curves below, validation behavior fluctuated noticeably across epochs compared to smooth training gains.
  • MobileNetV2 (Transfer Learning): 91% validation accuracy | 89% test accuracy (Precision: 0.89, Recall: 0.87, F1: 0.88) — the best real-world performer.
  • MobileNetV2 (Tuned): 95% validation accuracy | 84% test accuracy (Validation Precision: 0.93, Recall: 0.91, F1: 0.92). Class-wise ROC-AUC scores remained high (0.98 to 1.00 across all seven notes), though the precision-recall curve for the Rs. 50 note showed a sharp drop-off as recall increased.
Figure 2: Training and validation accuracy and loss curves for the baseline CNN.

Limitations and Future Work

The authors are refreshingly candid about what this system isn't:

  • No Counterfeit Detection: The model only classifies denominations; a photocopied fake will still get read aloud as genuine cash. Building a genuine-vs.-fake detector requires a separate, specialized dataset.
  • Dataset & Environmental Gaps: While the dataset includes visual variety, it isn't a rigorous benchmark for extreme real-world wear, tear, heavy occlusion, or terrible lighting, and the imbalanced test set complicates raw accuracy metrics.
  • Prototype vs. Product: The Flask web app and voice output were built as a proof-of-concept; no formal latency benchmarks or accessibility user studies with visually impaired participants were conducted.

Future work points toward collecting grittier, in-the-wild banknote images, deploying directly onto mobile/edge devices, running formal usability studies, and applying explainability tools like Grad-CAM to see which parts of a banknote the network actually looks at.

Summary updated

Abstract

Automated currency denomination recognition is a computer vision task with applications in cash handling, financial technology, and assistive systems. This study classifies seven Nepali currency denominations (Rs. 5, 10, 20, 50, 100, 500, and 1,000) using three configurations: a conventional convolutional neural network (CNN), MobileNetV2 with transfer learning, and MobileNetV2 with hyperparameter tuning. A compiled dataset of 16,249 images was used, comprising 10,500 training, 3,500 validation, and 2,249 independent test images. Images were resized to 128 x 128 pixels, normalized, and augmented to vary orientation, scale, illumination, and appearance. Models were evaluated using accuracy, precision, recall, F1-score, and precision-recall and ROC analysis. The hyperparameter-tuned MobileNetV2 achieved the highest validation accuracy (95\%), with precision, recall, and F1-score of 0.93, 0.91, and 0.92, but reached only 84\% accuracy on the held-out test set. MobileNetV2 with transfer learning but no additional tuning achieved 89\% test accuracy, and the conventional CNN achieved 85\%. Transfer learning therefore provided a competitive approach under the evaluated conditions, while higher validation accuracy from tuning did not yield higher test accuracy. To demonstrate practical deployment, a Flask-based web prototype using TensorFlow Lite was developed, supporting image upload and live webcam recognition with both visual and voice output. The study shows the feasibility of combining lightweight deep learning with a voice-assisted web interface for Nepali currency recognition, and highlights the need for more diverse datasets, greater robustness under uncontrolled imaging conditions, and broader real-world evaluation.
BibTeX
@misc{lamichhane2026nepali,
  author = {Sakar Lamichhane and Sandesh Bhatta and Aayush Adhikari and Aaron Sapkota},
  title = {{Nepali Currency Denomination Classification Using Convolutional Neural Networks (CNNs) and MobileNetV2: An Experimental Comparison}},
  year = {2026},
  eprint = {2611.33713},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33713},
}
Figure