English

中国农机化学报

中国农机化学报 ›› 2024, Vol. 45 ›› Issue (3): 226-232.DOI: 10.13733/j.jcam.issn.2095-5553.2024.03.031

• 农业智能化研究 • 上一篇    下一篇

基于改进YOLOXS的苹果成熟度检测方法

黄威1, 刘义亭1, 2,李佩娟1,陈光明3, 4   

  • 出版日期:2024-03-15 发布日期:2024-04-16
  • 基金资助:
    国家自然科学基金青年基金(61903184);江苏省自然科学基金青年基金(BK20181017、BK2019K186);南京工程学院引进人才科研启动基金(YKJ2018822);中国博士后科学基金第67批面上项目(2020M671292);江苏省博士后科研资助计划(B类);2021年度省重点研发计划(产业前瞻与共性关键技术)(BE2021016—5)

Detection method of apple ripeness based on improved YOLOXS

Huang Wei1, Liu Yiting1, 2, Li Peijuan1, Chen Guangming3, 4   

  • Online:2024-03-15 Published:2024-04-16

摘要: 准确检测果园中未成熟与成熟的苹果对果园早期作物的负荷管理至关重要,提出一种能够实时检测苹果成熟度,并估算出整棵果树果实数量的方法。为提高YOLOXS网络在复杂场景下的检测能力,在FPN(特征金字塔)的残差连接处增加了Coordinate Attention(位置注意力);为更好地检测图像中生长密集、存在遮挡、尺寸较小的苹果,将位置损失函数IoU_Loss更换为CIoU_Loss。试验结果表明,所提出的改进YOLOXS检测算法相较于原算法,mAP值提高约1.97%,苹果低成熟度、中等成熟度和高等成熟度的AP值分别为90.85%、95.10%和80.50%。

关键词: 苹果, YOLOXS, 目标检测, 位置注意力, 成熟度检测

Abstract: Accurate detection of immature and mature apples in orchards is crucial to the load management of early crops in orchards. This paper proposes a method that can detect apple maturity in real time and estimate the number of fruits in the whole fruit tree. In order to improve the detection ability of the YOLOXS network in complex scenes, Coordinate Attention (position attention) is added to the residual connection of the FPN (feature pyramid). In order to better detect the apple with dense growth, occluding and small size in the image, the position loss function is replaced from IoU_Loss to CIoU_Loss. The experimental results show that the mAP value of the improved YOLOXS detection algorithm proposed in this paper is increased by about 1.97% compared with the original algorithm, and the AP values of apples with low maturity, medium maturity and high maturity are 90.85%, 95.10% and 80.50%, respectively.

Key words: apple, YOLOXS, object detection, coordinate attention, maturity detection

中图分类号: