cs.CVAug 28, 2026

Empowering Local Agriculture: A Deep Learning-Powered Web System for Identifying Bangladeshi Mango Varieties

Authors: Monowar Islam, Safaruzzaman Shovo

Organizations: Faridpur Engineering College, University of Dhaka, Bangladesh

Abstract

Mango variety identification in Bangladesh is challenging because closely related cultivars can have similar visual characteristics and images are often captured under varying real-world conditions. This work presents a deep learning-based web system for automatic identification of Bangladeshi mango varieties. We collected 2,013 high-quality mango images (3024x4032 pixels) from local markets and farms and organized them into nine classes, combining Bari-4 and Bari-7 as a single Bari class. The dataset was divided into training (70%), validation (15%), and test (15%) sets, with image augmentation applied to improve model generalization. Three pretrained CNN architectures, ResNet18, ResNet50, and EfficientNetB0, were fine-tuned under consistent training settings. EfficientNetB0 achieved the best performance, obtaining 98.01% validation accuracy and 97.36% test accuracy, compared with 86.47% and 78.55% test accuracy for ResNet18 and ResNet50, respectively. Class-wise F1-scores for EfficientNetB0 ranged from 0.93 to 0.99, while the Bari class achieved an F1-score of 0.97. The selected EfficientNetB0 model has approximately 4 million parameters, making it suitable for lightweight deployment. We integrated the model into a Streamlit web application that enables users to upload a mango image and receive a predicted variety with class probabilities. The system provides an accessible, practical tool for mango identification and demonstrates the potential of deep learning for supporting agricultural applications in Bangladesh.

Figures & tables

Explore similar work

CardsList
  1. GourNet: A CNN-Based Model for Mango Leaf Disease Detection

    Apr 30, 2026Ekram Alam, Jaydip Sanyal, Akhil Kumar Das +2Plant Disease Classification

  2. AgriMind: An Ensemble Deep Learning Framework for Multi-Class Plant Disease Classification

    May 15, 2026Salma Hoque Talukdar Koli, Fahima Haque Talukder JelyPlant Disease ClassificationEnsemble Learning

  3. AgroVisNet: A lightweight Convolutional Network and the BD-PlantDX Expert-Validated Benchmark for Radish, Potato and Pointed Gourd Disease Classification

    Sep 9, 2026Md. Abdullah Mandal, Saad Ahmed, Md. Khalid SyfullahPlant Disease ClassificationLightweight CNNs