Article Details

Title · Authors · Abstract · Keywords · DOI · References

Research on Detection Method of String Tomato Ripeness under Complex Lighting Environment Based on YOLOv8

LIANG Yefeng, SONG Yingyi, JIANG Hang, WANG Yizong, DING Qihang

(School of Information Engineering, Xinjiang Institute of Technology, Aksu 843100, China)

Section:Artificial Intelligence · 2025, Vol. 9, No. 13 · Pages:58-61,67 · 2096-4706(2025)13-0058-05 · CLC number:TP391.4 · Document code:A · DOI:10.19850/j.cnki.2096-4706.2025.13.012

Abstract

In order to address the demand for automating tomato picking in diverse agricultural environments, this paper presents a method for detecting the ripeness of string tomatoes under complex lighting environment based on YOLOv8. Firstly, a multi-scenario dataset of 3 665 string tomato images is constructed from the Scientific Data Bank, encompassing complex lighting conditions such as sunny days, cloudy days, varying times of the day, and multi-angle light positions. Then, pixel-level annotations are performed using the Labelimg tool to establish a dataset with three target categories of ripe tomatoes, unripe tomatoes, and peduncles. Finally, experimental training yields mAP@0.5 scores of 98.3% for ripe tomatoes, 97.2% for peduncles, and 77.5% for unripe tomatoes, with an average mAP@0.5 of 91%. The experimental results demonstrate that this method enables the detection of ripe tomatoes under various lighting and occlusion scenarios, offering a novel approach for the automated harvesting of ripe tomatoes in agricultural facilities.

Keywords

ripeness; complex lighting environment; YOLOv8; precision

References

  1. [1] Qian Zhen. Research on Target Recognition, Localization, and Navigation Technology for Tomato Picking Trucks [D]. Yangzhou: Yangzhou University, 2023
  2. [2] Li Renzhi. Tomato Maturity Recognition and Maturity Prediction Model Based on Deep Learning [D]. Kunming: Yunnan Agricultural University, 2022
  3. [3] Rong Youli. Improved Faster RCNN based greenhouse tomato maturity grading and size detection [D]. Jinzhong: Shanxi Agricultural University, 2021
  4. [4] Liu Tong. Research on Tomato Maturity Recognition and Time Series Prediction Based on Deep Learning [D]. Shanghai: Shanghai Ocean University, 2024
  5. [5] Du Dongfeng. Research on Tomato Maturity Recognition Method Based on Visual Touch Fusion [D]. Jinan: Qilu University of Technology, 2024
  6. [6] Yang Xinting, Liu Tong, Han Jiawei, et al. Research on Maturity Identification and Time Series Prediction of Low Temperature Storage Tomatoes Based on Swin Transformer and GRU [J]. Journal of Agricultural Machinery, 2024, 55 (3): 213-220
  7. [7] Wang Hongzhu. Image Recognition Method for Tomato Appearance Features [D]. Xianyang: Northwest A&F University, 2018
  8. [8] Pan Sihui. Intelligent detection method for tomato maturity during storage [D]. Zhenjiang: Jiangsu University, 2018
  9. [9] Zhang Yali. Tomato Maturity Recognition Based on Color Features and Extreme Learning Machine [J]. Jiangsu Agricultural Science, 2014, 42 (7): 411-413
  10. [10] Zhang Linxuan, Ba Yintana, Zeng Qingsong. Early detection method for grape leaf diseases based on StyleGAN2-ADA and improved YOLO v7 [J]. Journal of Agricultural Machinery, 2024, 55 (1): 241-252
  11. [11] Chen Wei, Zhang Chunyu, Zhu Chaoran. Research on Tomato Maturity Recognition Based on YOLOv5s Algorithm [J]. Journal of Anhui University of Science and Technology, 2023, 37 (1): 92-95
  12. [12] Gao Jiacong. Design of Mature Tomato Machine Vision Recognition System Based on FPGA [D]. Taiyuan: North China University, 2022
  13. [13] Song Guozhu, Shi Yan, Wang Jian, et al. 2022 Shanxi Nonggu Tomato Town Greenhouse Tomato Fruit Dataset [DB/OL]. [2020-03-11] https://cstr.cn/31253.11.sciencedb.05228.

Funding

National College Students' Innovation and Entrepreneurship Training Program (202413558003); Provincial College Students' Innovation and Entrepreneurship Training Program Project (S202513558038)

About the authors

Liang Yefeng (1995-), male, Han ethnicity, from Chongzuo, Guangxi, assistant laboratory technician, undergraduate, research direction: image recognition, automation; Song Yingyi (1997-), female, Tujia ethnic group, from Enshi, Hubei, lecturer, master's student, research direction: ethnic cultural dissemination; Jiang Hang (2001-), female, Han ethnicity, from Fengjie, Chongqing, assistant experimenter, undergraduate, research direction: image recognition; Wang Yizong (1990-), male, Han ethnicity, from Qingyang, Gansu Province, lecturer, master's degree, research direction: image processing; Ding Qihang (2005-), male, Han nationality, from Nanyang, Henan Province, undergraduate student, research direction: image processing.