MARATTO

article · AgriEngineering

Interpretable Citrus Fruit Quality Assessment Using Vision Transformers and Lightweight Large Language Models

20257 citationsOpen accessIbn Tofail University

Abstract

This study introduces an interpretable deep learning pipeline for citrus fruit quality classification using the ViT-Base model vit_base_patch16_224 and Microsoft’s Phi-3-mini LLM. The ViT model, fine-tuned on resized 224 × 224 images with ImageNet weights, classifies fruits into good, damaged, and rotten categories, achieving 98.29% accuracy. For interpretability, Grad-CAM highlights damaged regions, while the Phi-3-mini generates human-readable diagnostic reports. The system runs efficiently on edge devices, enabling real-time, on-site quality assessment. This approach enhances transparency and decision-making, showing strong potential for deployment in the citrus industry.

Research topics

  • Smart Agriculture and AI
  • Spectroscopy and Chemometric Analyses
  • Date Palm Research Studies

Read the original research

This page summarises published work. The authoritative version sits with the publisher.

DOI: 10.3390/agriengineering7090286

Is something wrong with this record? Report it or request removal.

Discussion

Discuss this research

Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.

No discussion yet. Open the first thread.