Logo Lanfrica

AI-Powered Detection and Quantification of Local Date Varieties Using YOLO: Toward Intelligent Supply Chain Integration in Agri-Food Technology

Domain:

agriculture

Record type:

paper
Creator:
FatOlfSanTes
Publisher:
Ins
Host:
This study presents an AI-powered approach to enhance quality control and traceability in the agri-food sector, focusing on the automated detection and classification of two Tunisian date varieties: Deglet Nour and "Bsir". The main objective is to develop a smart system that can quantitatively and qualitatively determine the proportion of any contamination of one variety by the other within a batch. To achieve this, state-of-the-art object detection YOLO models, v8 and v12, have been employed, trained on a custom annotated dataset which includes a wide range of real-world images, capturing the variability in the studied date fruit size, shape, and presentation. Both YOLO models were fine-tuned over 50 epochs using transfer learning techniques, allowing them to adapt effectively to the specific classification task. Training step consisted of a thorough analysis of bounding box distributions and samples clustering, taking into account natural variations in date morphology based on their 2D images. Evaluation showed that both models achieved high detection accuracy, with YOLOv12 outperforming slightly in precision and speed, making it well-suited for real-time applications. By estimating the relative variety proportions within a mixed batch, the developed smart system supports the intelligent decision-making across the supply chain. This work lays the groundwork for embedding deep learning models into portable smart optical devices that can assess date mixtures on-site, from farms to packaging centers. Future developments will focus on expanding detection to additional date varieties and integrating the system into commercial post-harvest processes.

Similar