Content area
Agriculture stands as the cornerstone of Africa’s economy, supporting over 60% of the continent’s labor force. Despite its significance, the quality assessment of agricultural products remains a challenging task, particularly at a large scale, consuming valuable time and resources. The African plum is an agricultural fruit that is widely consumed across West and Central Africa but remains underrepresented in AI research. In this paper, we collected a dataset of 2892 African plum samples from fields in Cameroon representing the first dataset of its kind for training AI models. The dataset contains images of plums annotated with quality grades. We then trained and evaluated various state-of-the-art object detection and image classification models, including YOLOv5, YOLOv8, YOLOv9, Fast R-CNN, Mask R-CNN, VGG-16, DenseNet-121, MobileNet, and ResNet, on this African plum dataset. Our experimentation resulted in mean average precision scores ranging from 88.2% to 89.9% and accuracies between 86% and 91% for the object detection models and the classification models, respectively. We then performed model pruning to reduce model sizes while preserving performance, achieving up to 93.6% mean average precision and 99.09% accuracy after pruning YOLOv5, YOLOv8 and ResNet by 10–30%. We deployed the high-performing YOLOv8 system in a web application, offering an accessible AI-based quality assessment tool tailored for African plums. To the best of our knowledge, this represents the first such solution for assessing this underrepresented fruit, empowering farmers with efficient tools. Our approach integrates agriculture and AI to fill a key gap.
Details
Accuracy;
Datasets;
Deep learning;
Agricultural production;
Defects;
Applications programs;
Vision systems;
Citrus fruits;
Quality control;
Crop diseases;
Agriculture;
Automation;
Plums;
Food quality;
Efficiency;
Machine learning;
Quality assessment;
Product quality;
Artificial intelligence;
Computer vision;
Neural networks;
Image classification;
Pruning;
Data collection;
Algorithms;
Image quality;
Object recognition;
Cultural heritage
; Sain Rigobert Che 2 ; Atemkemg, Marcellin 3
1 Department of Engineering, University of Ferrara, Via Saragat 1, 44122 Ferrara, Italy
2 African Institute for Mathematical Sciences, Limbe P.O. Box 608, Cameroon;
3 Department of Mathematics, Rhodes University, P.O. Box 94, Makhanda 6140, South Africa;