深度学习算法在缺陷自动检测中的应用
2020-01-06罗宇哲万艳谢秀齐何晓昀
罗宇哲 万艳 谢秀齐 何晓昀



[摘 要]本文以红枣的缺陷检测为对象,研究了深度学习算法在图像缺陷检测中的应用。首先建立红枣的缺陷检测环境,拍摄一定数量缺陷红枣图片并对图中缺陷进行标注,然后在服务器上使用 YOLO-Tiny深度网络模型对标注样本进行训练,最后在NVIDIA Jetson TK1嵌入式设备上对模型的缺陷检测效果进行验证。实验结果表明深度学习算法对红枣缺陷检测准确度可达91%,检测速度可达12帧/s,可满足红枣缺陷自动检测的需求。
[关键词]缺陷检测;深度学习;机器视觉;YOLO-Tiny
[中图分类号]TP317.4 [文献标志码]A [文章编号]2095–6487(2020)06–00–03
Application of Deep Learning Algorithm in Automatic Defect Detection
Luo Yu-zhe, Wan Yan, Xie Xiu-qi, He Xiao-yun
[Abstract]This article takes the defect detection of red dates as the object, and studies the application of deep learning algorithms in image defect detection. First, establish a defect detection environment for jujubes, take a certain number of defective jujube pictures and mark the defects in the images, then use the YOLO-Tiny deep network model on the server to train the marked samples, and finally run the model on the NVIDIA Jetson TK1 embedded device The defect detection effect is verified. Experimental results show that the accuracy of the deep learning algorithm for jujube defect detection can reach 91%, and the detection speed can reach 12 frames per second, which can meet the needs of automatic detection of jujube defects.
[Keywords]defect detection, deep learning, machine vision, YOLO-Tiny
目前对缺陷红枣的筛选主要采用人工筛选,但人工筛选的缺点相当明显,一是工作量大,二是效率低。其中人为因素对筛选结果的影响很大。例如,工人在筛选时注意力不集中,导致红枣的品质分类错误。为了提高红枣的筛选质量和效率,使红枣的品质满足产品的加工要求,采样机器自动筛选已成为未来主流发展趋势。
1 深度学习与机器视觉
近年来,深度学习算法在图像缺陷识别中的应用日益成熟,基于深度学习的目标检测已成为图像检测科技发展的主流。基于深度学习算法的人工智能技术广泛应用于摄像机自动定位对焦人脸、自动驾驶障碍物检测等领域。基于深度学习的图像检测技术在工业检测领域得到了广泛应用。
基于深度学习的图像检测技术同样适用于红枣缺陷检测需求。它能有效地在复杂图像中找到红枣缺陷位置。……
