基于机器视觉的菠萝自动去眼方法与试验
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

S24

基金项目:

国家重点研发计划项目(2022YFD2002003-3)


Automatic removal of pineapple eye using machine vision
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    菠萝加工过程中的去眼作业目前主要依赖人工手动操作,劳动成本高且作业效率低。为实现自动化菠萝去眼作业,该研究运用YOLOv5l目标检测算法对菠萝眼进行快速识别,将所有角度相差90o的两张图片作为一组进行立体匹配分析以获取菠萝眼的三维位置信息。通过旋转菠萝和轴向移动去眼刀具将专用去眼刀具依次对准每一个菠萝眼并快速去除。试验结果表明:YOLOv5目标检测算法对菠萝眼识别效果良好,验证集的准确率、召回率和平均精度均值均高于96%;菠萝眼实际中心与探针刺入位置的平均误差为1.01 mm,最大误差为2.17 mm,均方根误差为1.09 mm;菠萝眼的完全去除率为89.5%、不完全去除率为6.2%,漏检率为4.3%,单个菠萝去眼时间为110.9 s,基本满足自动化去眼作业需要。研究结果可为菠萝自动去眼机研发提供技术参考。

    Abstract:

    Eye removal operation has been one of the most important steps in the process of pineapple production. However, manual operation cannot fully meet the large-scale production at present, due the high labor cost and low efficiency. In this study, an automatic eye removal machine was developed for the pineapple using machine vision. The automatic control system included the feeding clamping, image acquisition and processing, eye removal execution and motion control. A total of 480 images of 40 pineapples were firstly collected at 30ångle intervals throughout entire circumference. Then, data enhancement processing (such as rotation, horizontal and vertical image) was used to improve the robustness of recognition mode. 1000 pineapple images were obtained as the datasets. According to 8:1:1, the datasets were divided into the training set, validation set and test set. Four YOLOv5 (l, s, m, and x) models were used to train the data set of pineapple eyes. The 100 images in the test set were input into four models for manual detection. The optimal network model was selected after that. The YOLOv5l target detection was used to rapidly identify the pineapple eye. Two pictures with a difference of 90 in all angles were analyzed as a group to obtain the three-dimensional position of pineapple eye. Geometric vector was utilized to obtain the camera three-dimensional coordinate system (XC, YC, and ZC) with the origin of the camera, and the three-dimensional space coordinate of pineapple eye (X, Y, and Z). The probe positioning test was carried out to evaluate the positioning accuracy of the system. Among them, the three-dimensional spatial coordinates (X, Y, Z) of pineapple eyes were transformed into (L, θ) spatial coordinates with the horizontal position L of the probe and the pineapple rotation angle θ as the references. A numerical-controlled precision motion was applied to pierce the probes into the pineapple eyes, in order to validate the effect of the recognition and localization. In subsequent experiments for practical engineering applications, the three-dimensional space coordinate (X, Y, Z) of the pineapple eye was transformed into the space coordinate (L, θ, K) with eye removal position L, pineapple rotation angle θ and radial feed of the eye screw motor K as the reference. Fifteen samples were selected to rotate the pineapple and move the cutter axially to align each pineapple eye in turn, and then rapidly remove with a dedicated cutter. The experimental results demonstrated that four YOLOv5 (l, s, m, and x) target detection performed better on the recognition of pineapple eyes. The values of accuracy P, recall rate R and mAP of four model test sets were all higher than 96%. The better performance was achieved in the YOLOv5l model with the detection accuracy of 98.0%, the recall rate of 96.6% and the mAP value of 98.0%. The average times required to detect one pineapple eye image were 0.015 s, with the best comprehensive performance. The probe test showed that the average deviation between the actual center of the pineapple eye and the puncture position of the probe was 1.01 mm, the maximum was 2.17 mm, and the root mean square error was 1.09 mm. The accuracy of complete removal of pineapple eye was 89.5% using machine, whereas, the imcomplete removal was 6.2%, and the leakage rate was 4.3%. The complete eye removal time T of individual pineapples was 110.9 s. Pineapple automatic eye removal machine was fully met the needs of automatic eye removal operation. The finding can provide the technical reference for the research and development of pineapple automatic eye removal machine.

    参考文献
    相似文献
    引证文献
引用本文

刘安稳,谢方平,向阳,李亚军,雷翔茗.基于机器视觉的菠萝自动去眼方法与试验[J].农业工程学报,2024,40(1):80-89. DOI:10.11975/j. issn.1002-6819.202309130

LIU Anwen, XIE Fangping, XIANG Yang, LI Yajun, LEI Xiangming. Automatic removal of pineapple eye using machine vision[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE),2024,40(1):80-89. DOI:10.11975/j. issn.1002-6819.202309130

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2023-09-16
  • 最后修改日期:2023-11-21
  • 录用日期:
  • 在线发布日期: 2024-01-27
  • 出版日期:
文章二维码
您是第位访问者
ICP:京ICP备06025802号-3
农业工程学报 ® 2024 版权所有
技术支持:北京勤云科技发展有限公司