欢迎访问林业科学,今天是

林业科学 ›› 2020, Vol. 56 ›› Issue (12): 123-129.doi: 10.11707/j.1001-7488.20201214

• 论文与研究报告 • 上一篇    下一篇

基于深度学习的木材优选锯视觉检测算法

邵明伟1,2,董军宇2   

  1. 1. 青岛理工大学信息与控制工程学院 青岛 266520
    2. 中国海洋大学信息科学与工程学院 青岛 266100
  • 收稿日期:2018-10-23 出版日期:2020-12-25 发布日期:2021-01-22
  • 基金资助:
    山东省自然科学基金项目(ZR2020QF101)

A New Algorithm for Automatic Optimizing Cross-Cut Saw Based on Deep Learning Algorithm

Mingwei Shao1,2,Junyu Dong2   

  1. 1. School of Information and Control Engineering, Qingdao University of Technology Qingdao 266520
    2. College of Information Science and Engineering, Ocean University of China Qingdao 266100
  • Received:2018-10-23 Online:2020-12-25 Published:2021-01-22

摘要:

目的: 提出一种基于深度学习的木材优选锯视觉检测算法,以最大限度增加木材出材率,提高木材价值,并进一步提升木材加工行业自动化水平。方法: 通过样本训练获得木材缺陷和木材等级识别网络,视觉传感器获取需检测木材图像,由木材缺陷识别网络确定木材缺陷的具体位置;对于无缺陷木材,由木材等级识别网络确定视觉传感器视场内木材的具体等级,进而确定切除部位在图像坐标系下的位置;由事先确定的图像平面与木材物理平面之间的单应关系确定木材最终切除位置列表。结果: 在本研究试验条件下,基于深度学习的木材优选锯视觉检测算法单幅图像缺陷检测时间为123 ms,缺陷检测正确率为95.8%,单幅图像等级分类识别时间为55 ms,分类识别正确率为97.1%,平均检测时间为86 ms,平均正确率为96.5%。结论: 基于深度学习的木材优选锯视觉检测算法运行速度快、识别准确率高、鲁棒性强,可克服传统优选锯分类不佳且需要人工干预的缺点,自动化程度高,能够满足木材优选锯实时、准确检测要求。

关键词: 深度学习, 优选锯, 木材处理, 缺陷识别, 计算机视觉

Abstract:

Objective: For the purposes of playing full value of wood, increasing the timber yield and improving the automatic level of wood processing industry, a new method for automatic optimizing cross-cut saw based on deep learning algorithm was proposed in this paper. Method: Pretrained defect detection network (Net.1) and grade classification network (Net.2) were obtained based on enough samples. Images of timber were captured by the vision sensor, the defect position on image could be confirmed based on Net. 1, while the grade position could be confirmed based on Net. 2. Final physical position could be determined based on the homography relationships between image plane and physical plane. Cutting list could also be obtained. Result: The experiment in our detailed conditions showed that the time of defect detection was 123 ms (per image), while the accuracy was 95.8% (per image). The time of grade classification was 55 ms (per image), while the accuracy was 97.1% (per image). The average time of detection was 86 ms (per image), while the average accuracy was 96.5% (per image). Conclusion: Our new method presented many advantages, such as a high operation speed, a high recognition efficiency and a strong robustness. The algorithm could improve the traditional optimizing cross-cut saw with a high automation and could also meet the requirements of real-time and accurate detection in wood processing.

Key words: deep learning, optimizing cross-cut saw, wood processing, defect detection, computer vision

中图分类号: