首页 /研究 /Deep learning-based real-time detection and classification of tomato ripeness stages using YOLOv8 on raspberry Pi
PERCEPTION

Deep learning-based real-time detection and classification of tomato ripeness stages using YOLOv8 on raspberry Pi

Md. Nahiduzzaman, Rusab Sarmun, Amith Khandakar, Md. Ahasan Atick Faisal, Munshi Sajidul Islam, Md Imdadul Alam, Tawsifur Rahman, Nasser Al‐Emadi, M. Murugappan, Muhammad E. H. Chowdhury

发表年份
2025
引用次数
10

摘要

Abstract The automated detection of tomato ripeness is critical in crop management and harvesting. In most earlier works, tomato image ripeness detection has been based upon a limited set of images and binary classification (ripe and unripe). This study uses the cutting-edge YOLOv8 object detection algorithm and a comprehensive dataset to propose an accurate real-time system for detecting and classifying tomato ripeness (multi-class). Based on two open-source datasets (Kaggle and Internet-sourced), we developed and tested the proposed system. In this method, a comprehensive tomato image dataset is curated, YOLOv8 models are built, seamlessly integrated into an embedded system (Raspberry Pi4), then evaluated and validated. The model shows exceptional performance in detecting three distinct classes of ripeness: unripe, partially ripe, and ripe. It surpasses existing state-of-the-art models in both accuracy and efficiency. Based on the Kaggle dataset, our model achieves an average precision at 50 of 0.808, with F1-scores of 0.80, 0.65, and 0.796 for unripe, partially ripe, and ripe classes, respectively. It achieves mAP at 50 of 0.725 and F1-scores of 0.747 (unripe), 0.652 (partially ripe), and 0.72 (ripe) for the corresponding classes of the Internet-sourced Dataset, exceeding current state-of-the-art models. Finally, the proposed tomato ripeness detection algorithm is implemented on the Raspberry Pi 4 system and exhibits notable performance. With the integration of YOLOv8 into an embedded system (Respbeery Pi4), it can be used to improve efficiency and reduce labor costs in tomato-picking robots, helping to revolutionize agricultural practices.

关键词

RipenessRaspberry piComputer scienceArtificial intelligenceBlowing a raspberryMachine learningRipeningInternet of ThingsHorticultureEmbedded system

相关论文

查看 PERCEPTION 分类全部论文