This is an outdated version published on 2025-12-21. Read the most recent version.

Smart Agriculture: AI-based System for Classification of Fresh, Rotten, and Formalin Fruits

AI-based System for Classification of Fruits

Authors

  • Mahwish Ilyas Punjab University of Technology, Rasul, Mandi Bahauddin,
  • Sehrish Noreen
  • Anam Naz
  • Muhammad Bilal
  • Muhammad Ramzan
  • Muhammad Summair Raza

Keywords:

CNN, Image Classification, Deep Learning Model, Smart Agriculture

Abstract

Ensuring the freshness and safety of fruits and vegetables is critical for protecting public health, minimizing food waste, and enhancing supply chain efficiency. Traditionally, the assessment of produce quality relies on manual visual inspection, which is time-consuming, labor-intensive, and prone to errors. Recent advances in artificial intelligence have opened opportunities for automating this process, offering faster, more accurate, and scalable solutions. In this work, we propose a lightweight Convolutional Neural Network (CNN) model designed to classify fruits into three categories based on freshness: fresh, rotten, and formalin-treated. The model architecture integrates four convolutional layers with regularization techniques, enabling efficient feature extraction while maintaining low computational cost. We conducted experiments on the peer-reviewed Fruit Vision dataset, consisting of 10,154 images across 15 fruit classes. The proposed CNN achieved a test accuracy of 92.19%, with training and validation accuracies of 94.10% and 92.84%, respectively, and an F1-score of 0.93, outperforming several pretrained baseline models such as VGG16, InceptionV3, and MobileNetV2. These results demonstrate the feasibility of applying deep learning for automated fruit quality inspection. Our approach offers a reliable and efficient framework that can contribute to enhanced food safety, reduced waste, and more intelligent supply chain management.

Downloads

Published

2025-12-21

Versions

How to Cite

Ilyas, M., Noreen, S. ., Naz, A. ., Bilal, M., Ramzan, M., & Raza, M. S. . (2025). Smart Agriculture: AI-based System for Classification of Fresh, Rotten, and Formalin Fruits : AI-based System for Classification of Fruits. University of Sindh Journal of Information and Communication Technology, 9(1), 39–49. Retrieved from https://sujo.usindh.edu.pk/index.php/USJICT/article/view/7786

Most read articles by the same author(s)

Obs.: This plugin requires at least one statistics/report plugin to be enabled. If your statistics plugins provide more than one metric then please also select a main metric on the admin's site settings page and/or on the journal manager's settings pages.