CN206139527U - Panoramic vision potato is selected separately and defect detecting device - Google Patents

Panoramic vision potato is selected separately and defect detecting device Download PDF

Info

Publication number
CN206139527U
CN206139527U CN201621055789.1U CN201621055789U CN206139527U CN 206139527 U CN206139527 U CN 206139527U CN 201621055789 U CN201621055789 U CN 201621055789U CN 206139527 U CN206139527 U CN 206139527U
Authority
CN
China
Prior art keywords
module
detection
potato
sorting
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201621055789.1U
Other languages
Chinese (zh)
Inventor
明五
明五一
都金光
孙旭朝
赵晶晶
柳超杰
姜哲
张涛
吕昊威
田继忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou University of Light Industry
Original Assignee
Zhengzhou University of Light Industry
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou University of Light Industry filed Critical Zhengzhou University of Light Industry
Priority to CN201621055789.1U priority Critical patent/CN206139527U/en
Application granted granted Critical
Publication of CN206139527U publication Critical patent/CN206139527U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Sorting Of Articles (AREA)

Abstract

本实用新型公开了一种全景视觉马铃薯分选和缺陷检测装置,包括输送装置、检测暗箱、分选机构、红外传感器模块、图像采集机构、内置有卷积神经网络和支持向量机SVM的图像处理分析模块、内置有支持向量机SVM的数据融合模块和用于协调各部件动作的时序模块。本实用新型的全景视觉马铃薯分选和缺陷检测装置,无需马铃薯在检测过程中进行翻转运动即可完成全方位的检测,一方面避免了马铃薯的不必要损伤,另一方面避免了动态拍照检测中的不稳定性,提高图像清晰程度,提升了检测的准确率。本实用新型能广泛用于马铃薯农产品外部品质的实时在线检测,对促进我国马铃薯产业的发展具有重要意义。

The utility model discloses a panoramic vision potato sorting and defect detection device, which comprises a conveying device, a detection obscura, a sorting mechanism, an infrared sensor module, an image acquisition mechanism, and image processing with a built-in convolutional neural network and a support vector machine (SVM). An analysis module, a data fusion module with a built-in support vector machine (SVM), and a timing module for coordinating the actions of various components. The panoramic vision potato sorting and defect detection device of the utility model can complete all-round detection without turning over the potatoes during the detection process. On the one hand, unnecessary damage to the potatoes is avoided, and on the other hand, the dynamic camera detection The instability of the image is improved, and the accuracy of the detection is improved. The utility model can be widely used for real-time on-line detection of the external quality of potato agricultural products, and has great significance for promoting the development of the potato industry in my country.

Description

全景视觉马铃薯分选和缺陷检测装置Panoramic Vision Potato Sorting and Defect Detection Device

技术领域technical field

本实用新型涉及农产品外观品质检测的装置与方法,具体地说是涉及一种马铃薯分选和缺陷检测装置及检测方法。The utility model relates to a device and a method for detecting the appearance quality of agricultural products, in particular to a potato sorting and defect detection device and a detection method.

背景技术Background technique

形状和表面缺陷是马铃薯外观品质的重要特征,通过对这些特征指标进行定量测量,可以完成马铃薯外部缺陷、形状等指标的综合检测和分级。Shape and surface defects are important characteristics of potato appearance quality. Through quantitative measurement of these characteristic indicators, comprehensive detection and grading of potato external defects, shape and other indicators can be completed.

我国是世界上最大的马铃薯生产国,而马铃薯品质检测绝大部分仍停留在靠人工感官进行识别判断阶段。这种人工检测、评定马铃薯品质的方法效率低,客观性、准确性较差,难以满足高标准分级的要求,不利于实现规模化、自动化品质检测作业。my country is the largest potato producer in the world, and most of the potato quality inspections are still in the stage of identification and judgment by artificial senses. This method of manual detection and evaluation of potato quality has low efficiency, poor objectivity and accuracy, is difficult to meet the requirements of high-standard grading, and is not conducive to realizing large-scale and automatic quality inspection operations.

利用机器视觉进行检测可以排除人为主观因素的干扰,能够为实现规模化、自动化品质检测作业提供可靠基础。The use of machine vision for inspection can eliminate the interference of human subjective factors, and can provide a reliable basis for realizing large-scale and automated quality inspection operations.

目前大部分马铃薯加工企业中使用的马铃薯的分级装置一般都只是通过重量进行分级,利用天平或者压力传感器获取重量信息,然后通过按照杠杆原理或者控制电路进行分级。但这些装置只能按照重量分级,对于有缺陷的马铃薯薯块,无法自动挑出。这样的设备在实际应用操作过程中,需要额外增加人力先将次品挑出,然后再按照重量分级,这样就会增加马铃薯分级成本,增加人力物力,从而提高了生产成本,分级过程无法真正离开人工的参与,不能为实现规模化、自动化品质检测作业提供可靠基础。At present, the potato grading devices used in most potato processing enterprises generally only classify by weight, use balances or pressure sensors to obtain weight information, and then classify according to the principle of leverage or control circuits. But these devices can only be graded by weight, and cannot automatically pick out defective potato pieces. In the actual application and operation of such equipment, additional manpower is required to pick out the defective products first, and then grade them according to weight, which will increase the cost of potato grading, increase manpower and material resources, thereby increasing production costs, and the grading process cannot really leave Manual participation cannot provide a reliable basis for realizing large-scale and automated quality inspection operations.

虽然现在对基于计算机视觉的马铃薯分级方法和设备研究逐渐成为热点,但一般只限于实验室研究或者采用单一摄像头对马铃薯拍照,真正大批量应用于实际生产加工过程中的不多,有些分级算法虽然有了比较高识别率,但由于只采用一个摄像头,对马铃薯的缺陷检测并不全面,存在漏检的概率。Although the research on potato grading methods and equipment based on computer vision has gradually become a hot spot, it is generally limited to laboratory research or the use of a single camera to take pictures of potatoes. There are not many real large-scale applications in actual production and processing. Although some grading algorithms With a relatively high recognition rate, but because only one camera is used, the defect detection of potatoes is not comprehensive, and there is a probability of missed detection.

为了解决现有马铃薯分级设备只能按照重量分级或者单一摄像头的缺陷,不能很好地满足实时检测的要求等问题,提出了一种全景视觉马铃薯分选和缺陷检测装置及其方法。In order to solve the problems that the existing potato grading equipment can only be graded according to weight or a single camera can not meet the requirements of real-time detection, a panoramic vision potato sorting and defect detection device and method are proposed.

通过国内专利文献检索发现有一些相关专利文献报道,主要有以下一些:Through the search of domestic patent literature, it is found that there are some relevant patent literature reports, mainly as follows:

1、公布号为CN 202539096 U 的专利公开了一种果蔬分选剔除机构,尤其是适用于大型果蔬的分选剔除机构,可将混在果蔬之中的土块、石头及玻璃等剔除,也可将不成熟的果实进行剔除。该专利采用迎面击打果蔬的方式,且分选后的果蔬直接跌落到物料仓中,容易对果蔬造成损害。1. The patent with the publication number CN 202539096 U discloses a sorting and removing mechanism for fruits and vegetables, especially a sorting and removing mechanism for large fruits and vegetables, which can remove clods, stones and glass mixed in fruits and vegetables. Remove immature fruits. This patent adopts the method of hitting fruits and vegetables head-on, and the sorted fruits and vegetables directly fall into the material bin, which is easy to cause damage to the fruits and vegetables.

2、公告号为CN 104056790 A,名称为“一种马铃薯智能分选方法与装置”的实用新型专利,解决现有马铃薯分级设备只能按照重量分级,以及有些设备虽然能按照外观特征分级,但分级算法比较复杂,不能很好地满足实时检测的要求等问题。2. The announcement number is CN 104056790 A, a utility model patent titled "A Method and Device for Intelligent Potato Sorting", which solves the problem that existing potato grading equipment can only be classified according to weight, and although some equipment can be classified according to appearance characteristics, but The grading algorithm is more complex, and cannot well meet the requirements of real-time detection and other issues.

3、公告号为CN 204746897 U,名称为“一种基于机器视觉技术的马铃薯分级控制装置” 实用新型专利,可以实现杂质、不同品质马铃薯的快速检测分选,利用空气喷射器剔除杂质,控制马铃薯与导向拨杆之间的碰撞角度来降低碰撞力,减少马铃薯的机械损伤;根据马铃薯的检测横径采用一个或多个导向机构对马铃薯进行剔除,实现待分级马铃薯的分选。3. The announcement number is CN 204746897 U, and the name is "a potato grading control device based on machine vision technology". It is a utility model patent, which can realize the rapid detection and sorting of impurities and potatoes of different qualities, and use air jets to remove impurities and control the quality of potatoes The collision angle between the potato and the guide lever is used to reduce the collision force and reduce the mechanical damage of the potato; according to the detection transverse diameter of the potato, one or more guiding mechanisms are used to remove the potato, so as to realize the sorting of the potato to be graded.

4、公告号为 CN 203732461 A,名称为“一种用于马铃薯品质图像采集的水平输送和匀速翻转装置”的实用新型专利,设计一种用于马铃薯品质图像采集的水平输送和匀速翻转装置,可以实现马铃薯外部品质无损检测中,在水平输送中匀速平稳翻转,且可保障马铃薯检测过程的中心定位,实现马铃薯外部品质图像的动态采集。4. The notification number is CN 203732461 A, a utility model patent titled "a horizontal conveying and uniform turning device for potato quality image collection", which designs a horizontal conveying and constant speed turning device for potato quality image collection, In the non-destructive testing of potato external quality, it can be turned over smoothly at a uniform speed during horizontal transportation, and the center positioning of the potato testing process can be guaranteed, and the dynamic acquisition of potato external quality images can be realized.

上述专利虽然提出了马铃薯的分拣方法和马铃薯分级设备,有些设备虽然能按照外观特征分级,但由于只采用一个摄像头,需要翻转马铃薯,对其缺陷检测并不全面,存在漏检的概率,且对摄像头拍摄的照片进行分析处理的手段较为简陋,不能准确、迅速并全面地分析图像,分析结果不尽如人意。另外,翻转马铃薯时也可能导致马铃薯发生损伤。Although the above-mentioned patents propose a potato sorting method and potato grading equipment, although some equipment can be graded according to the appearance characteristics, because only one camera is used, the potatoes need to be turned over, and the defect detection is not comprehensive, and there is a probability of missed detection, and The means of analyzing and processing the photos taken by the camera are relatively simple, and the images cannot be analyzed accurately, quickly and comprehensively, and the analysis results are not satisfactory. In addition, potatoes may be damaged when they are turned over.

实用新型内容Utility model content

本实用新型的目的在于提供一种全景视觉马铃薯分选和缺陷检测装置,能够自动输送马铃薯,无须翻转马铃薯即可对马铃薯进行全面拍摄和检测,检测较为高效和准确。The purpose of the utility model is to provide a panoramic vision potato sorting and defect detection device, which can automatically transport potatoes, and can fully photograph and detect potatoes without turning them over, and the detection is more efficient and accurate.

为实现上述目的,本实用新型的全景视觉马铃薯分选和缺陷检测装置包括输送装置、检测暗箱、分选机构、红外传感器模块、图像采集机构、内置有卷积神经网络和支持向量机SVM的图像处理分析模块、内置有支持向量机SVM的数据融合模块和用于协调各部件动作的时序模块;In order to achieve the above object, the panoramic visual potato sorting and defect detection device of the present utility model comprises a conveying device, a detection camera obscura, a sorting mechanism, an infrared sensor module, an image acquisition mechanism, a built-in convolutional neural network and a support vector machine (SVM) image Processing analysis module, data fusion module with built-in support vector machine SVM and timing module for coordinating the actions of various components;

输送装置包括机架,机架上间隔设有输送滚轴,各输送滚轴位于同一水平面上,相邻输送滚轴之间相距1-2.5厘米;以输送方向为前方,最前端的输送滚轴处的机架向前连接有下料板;最后端的输送滚轴处的机架向后连接有上料装置,上料装置向下倾斜设置,上料装置采用皮带输送装置或链条输送装置;输送滚轴左右两侧的机架上设有用于阻挡马铃薯沿左右方向落下的输送挡板组;各输送滚轴的左端部均设有用于与动力机构传动连接的传动齿轮;The conveying device includes a frame, on which conveying rollers are arranged at intervals, and each conveying roller is located on the same horizontal plane, and the distance between adjacent conveying rollers is 1-2.5 cm; with the conveying direction as the front, the most forward conveying roller The frame at the front is connected with a blanking plate forward; the frame at the rear end of the conveying roller is connected with a feeding device backward, and the feeding device is set downwards, and the feeding device adopts a belt conveyor or a chain conveyor; The racks on the left and right sides of the rollers are provided with conveying baffle groups for preventing potatoes from falling in the left and right directions; the left end of each conveying roller is provided with transmission gears for transmission connection with the power mechanism;

输送装置中部的机架向上连接有检测暗箱,检测暗箱的前侧壁下部和后侧壁下部对应开设有用于通过马铃薯的开口;检测暗箱内设有所述图像采集机构、上照明装置和下照明装置;所述下照明装置设有两个;The rack in the middle of the conveying device is connected upwards with a detection dark box, and the lower part of the front side wall and the lower part of the rear side wall of the detection dark box are correspondingly provided with openings for passing potatoes; the detection dark box is provided with the image acquisition mechanism, upper lighting device and lower lighting. device; the lower lighting device is provided with two;

检测暗箱前后方向的中部位置正下方的相邻两个输送滚轴采用透明滚轴机构;透明滚轴机构包括中空设置且两端敞口的透明玻璃滚轴、左橡胶滚轴、右橡胶滚轴、左支撑装置、右支撑装置和支撑连杆;左、右支撑装置均包括滚轴支架和通过滚动轴承连接在滚轴支架上的插接筒;左支撑装置的插接筒的左端部设有用于与动力机构传动连接的传动齿轮;透明玻璃滚轴的左端插接所述左橡胶滚轴,透明玻璃滚轴的右端插接所述右橡胶滚轴,左、右橡胶滚轴均与所述透明玻璃滚轴过盈配合;右橡胶滚轴的右端插接在所述右支撑装置的插接筒内并与该插接筒过盈配合,左橡胶滚轴的左端插接在所述左支撑装置的插接筒内并与该插接筒过盈配合;右橡胶滚轴中空设置,所述支撑连杆的右端与一摄像动力装置传动连接,摄像动力装置连接在所述机架的右端部,支撑连杆向左穿过所述右支撑装置的插接筒和右橡胶滚轴且其左端位于所述透明玻璃滚轴内;The two adjacent conveying rollers directly below the middle position in the front and rear direction of the detection box adopt a transparent roller mechanism; the transparent roller mechanism includes a transparent glass roller, a left rubber roller, and a right rubber roller that are hollow and open at both ends , the left supporting device, the right supporting device and the supporting connecting rod; the left and right supporting devices all include a roller bracket and a socket connected to the roller bracket through a rolling bearing; the left end of the socket of the left supporting device is provided with a The transmission gear connected with the transmission of the power mechanism; the left end of the transparent glass roller is inserted into the left rubber roller, the right end of the transparent glass roller is inserted into the right rubber roller, and the left and right rubber rollers are connected to the transparent glass roller. The glass roller is interference fit; the right end of the right rubber roller is plugged into the socket of the right support device and is interference fit with the socket, and the left end of the left rubber roller is plugged into the left support device and interference fit with the socket; the right rubber roller is hollowly set, the right end of the support link is connected to a camera power device, and the camera power device is connected to the right end of the frame, The support link passes through the socket of the right support device and the right rubber roller to the left, and its left end is located in the transparent glass roller;

所述两个透明滚轴机构之间的间隙形成红外传感通道,所述红外传感器模块包括红外发射器和红外接收器,红外发射器和红外接收器分别位于红外传感通道的左方和右方,且红外发射器和红外接收器均正对所述红外传感通道;The gap between the two transparent roller mechanisms forms an infrared sensing channel, and the infrared sensor module includes an infrared emitter and an infrared receiver, and the infrared emitter and the infrared receiver are respectively located on the left and right of the infrared sensing channel square, and both the infrared emitter and the infrared receiver are facing the infrared sensing channel;

图像采集机构包括1个用于采集马铃薯全局图像的全局图像采集模块和6个用于采集马铃薯局部图像的局部图像采集模块;全局图像采集模块包括设置在检测暗箱内后侧壁顶部的全局摄像头;The image collection mechanism includes 1 global image collection module for collecting global images of potatoes and 6 local image collection modules for collecting partial images of potatoes; the global image collection modules include a global camera arranged on the top of the rear side wall in the detection obscura;

所述6个局部图像采集模块分别为1个位于检测暗箱内后侧壁中部的后方局部图像采集模块、1个位于检测暗箱内左侧壁中部的左方局部图像采集模块、1个位于检测暗箱内右侧壁中部的右方局部图像采集模块、1个位于检测暗箱内前侧壁中部的前方局部图像采集模块和2个下方局部图像采集模块,每个所述的透明滚轴机构的透明玻璃滚轴内分别设有1个所述的下方局部图像采集模块和1个所述的下照明装置,下方局部图像采集模块和下照明装置均连接在所述支撑连杆的左端部;The six partial image acquisition modules are respectively a rear partial image acquisition module located in the middle of the rear side wall in the detection dark box, a left partial image acquisition module located in the middle of the left wall in the detection dark box, and a left partial image acquisition module located in the middle of the detection dark box. The right partial image acquisition module in the middle of the inner right wall, one front partial image acquisition module located in the middle of the front side wall in the detection obscura, and two lower partial image acquisition modules, the transparent glass of each transparent roller mechanism One of the lower partial image acquisition modules and one of the lower lighting devices are respectively arranged in the roller, and the lower partial image acquisition module and the lower lighting device are both connected to the left end of the support link;

前方、后方、左方和右方局部图像采集模块结构相同,均包括用于带动摄像头作往复直线运动的摄像头运动机构和连接在摄像头运动机构上的局部摄像头;每个下方局部图像采集模块包括一个局部摄像头;The front, rear, left and right partial image acquisition modules have the same structure, and all include a camera movement mechanism for driving the camera to reciprocate linear motion and a partial camera connected to the camera movement mechanism; each lower partial image acquisition module includes a local camera;

检测暗箱出口处的机架一侧设有用于将马铃薯沿左右方向推离输送装置的分选机构,分选机构所对应的输送挡板组设有用于通过马铃薯的缺口;所述分选机构为推杆式分选机构或者喷气式分选机构;分选机构处的输送装置部分形成待分离区域;One side of the frame at the exit of the detection dark box is provided with a sorting mechanism for pushing the potatoes away from the conveying device along the left and right directions, and the corresponding conveying baffle group of the sorting mechanism is provided with a gap for passing through the potatoes; the sorting mechanism is Push rod type sorting mechanism or jet type sorting mechanism; the part of the conveying device at the sorting mechanism forms the area to be separated;

所述检测暗箱前方的机架上连接有安装架,安装架上设有所述图像处理分析模块、数据融合模块和用于协调各部件动作的时序模块;时序模块连接所述动力机构、摄像头运动机构的驱动装置、红外传感器模块、分选机构和图像处理分析模块;The frame in front of the detection camera obscura is connected with an installation frame, and the image processing and analysis module, the data fusion module and the timing module for coordinating the actions of each component are arranged on the installation frame; the timing module is connected with the power mechanism, camera movement The driving device of the mechanism, the infrared sensor module, the sorting mechanism and the image processing and analysis module;

所述局部摄像头和全局摄像头均连接所述图像处理分析模块。Both the local camera and the global camera are connected to the image processing and analysis module.

下料板的左右两侧边向上连接有下料挡板。从而使马铃薯在通过下料板时不会从左右两侧掉下来。The left and right sides of the blanking plate are upwardly connected with blanking baffles. In this way, the potatoes will not fall from the left and right sides when passing through the cutting plate.

所述推杆式分选机构包括分选动力装置和与分选动力装置传动连接的推杆,推杆上设有用于推动马铃薯的拨板。The push rod type sorting mechanism includes a sorting power device and a push rod connected with the sorting power device in transmission, and the push rod is provided with a dial for pushing potatoes.

所述喷气式分选机构包括喷气管,喷气管一端连接高压气源,另一端连接有气嘴,气嘴位于检测暗箱出口处的机架一侧且气嘴开口朝向机架的另一侧。The air-jet sorting mechanism includes an air-jet pipe, one end of which is connected to a high-pressure air source, and the other end is connected with an air nozzle, the air nozzle is located on one side of the frame at the exit of the detection dark box and the mouth of the air nozzle faces the other side of the frame.

本实用新型具有如下的优点:The utility model has the following advantages:

本实用新型参照国家出口标准,根据马铃薯的形状、重量及外观特征,在不翻动马铃薯的情况下,对马铃薯进行上、下、左、右、前、后全景视觉检测,从而完成马铃薯的实时检测与分级。The utility model refers to the national export standard, and according to the shape, weight and appearance characteristics of the potato, without turning the potato, the utility model carries out the panoramic visual detection of the potato from top to bottom, left, right, front and back, so as to complete the real-time detection of the potato with grading.

本实用新型的全景视觉马铃薯分选和缺陷检测装置及其分选检测方法,无需马铃薯在检测过程中进行翻转运动即可完成全方位的检测,一方面避免了马铃薯的不必要损伤,另一方面避免了动态拍照检测中的不稳定性,提高图像清晰程度,提升了检测的准确率。本实用新型能广泛用于马铃薯农产品外部品质的实时在线检测,对于促进我国马铃薯产业的发展具有重要的现实意义和良好的应用前景。The panoramic vision potato sorting and defect detection device and the sorting detection method of the utility model can complete all-round detection without turning over the potatoes during the detection process, on the one hand avoiding unnecessary damage to the potatoes, on the other hand It avoids the instability in dynamic camera detection, improves image clarity, and improves detection accuracy. The utility model can be widely used for real-time on-line detection of the external quality of potato agricultural products, and has important practical significance and good application prospects for promoting the development of the potato industry in my country.

本实用新型的全景视觉马铃薯分选和缺陷检测装置结构合理,本实用新型的其分选检测方法步骤安排紧凑高效,两者结合能够实现马铃薯的自动运输、拍照、分析检测,马铃薯在通过本实用新型的检测装置后,自动将有缺陷的马铃薯分选出来,为马铃薯的后续加工或者销售提供支持。The panoramic visual potato sorting and defect detection device of the utility model has a reasonable structure, and the steps of the sorting and testing method of the utility model are arranged compactly and efficiently. After the new detection device, the defective potatoes are automatically sorted out to provide support for subsequent processing or sales of potatoes.

透明滚轴机构相邻设有两个,因此拍摄的图像能够完全覆盖马铃薯的底部特征。Two transparent roller mechanisms are located next to each other so that the captured image completely covers the bottom features of the potato.

附图说明Description of drawings

图1是本实用新型的结构示意图;Fig. 1 is the structural representation of the utility model;

图2是本实用新型的检测方法的流程图;Fig. 2 is the flowchart of detection method of the present utility model;

图3是检测暗箱的结构示意图;Fig. 3 is the structural representation of detecting dark box;

图4是透明滚轴机构的分解结构示意图;Fig. 4 is a schematic diagram of an exploded structure of a transparent roller mechanism;

图5是图像分析处理模块内置的卷积神经网络的结构示意图;Fig. 5 is a schematic structural diagram of the convolutional neural network built into the image analysis and processing module;

图6是图像分析处理模块与数据融合模块的数据融合流程图。Fig. 6 is a flow chart of data fusion between the image analysis processing module and the data fusion module.

具体实施方式detailed description

本实用新型以马铃薯的输送方向为前向;图1中箭头所示方向即为马铃薯的输送方向。The utility model takes the conveying direction of the potatoes as the forward direction; the direction shown by the arrow in Fig. 1 is the conveying direction of the potatoes.

如图1至图6所示,本实用新型提供了一种全景视觉马铃薯分选和缺陷检测装置,包括输送装置、检测暗箱、分选机构、红外传感器模块、图像采集机构、内置有卷积神经网络和支持向量机SVM的图像处理分析模块30、内置有支持向量机SVM的数据融合模块31和用于协调各部件动作的时序模块32;As shown in Figures 1 to 6, the utility model provides a panoramic vision potato sorting and defect detection device, including a conveying device, a detection camera obscura, a sorting mechanism, an infrared sensor module, an image acquisition mechanism, and a built-in convolution neural network. Image processing and analysis module 30 of network and support vector machine SVM, built-in data fusion module 31 of support vector machine SVM and timing module 32 for coordinating the actions of various components;

输送装置包括机架1,机架1上间隔设有输送滚轴2,各输送滚轴2位于同一水平面上,相邻输送滚轴2之间相距1-2.5厘米,从而使正常大小的马铃薯不会从相邻输送滚轴2之间的缝隙漏下去;以输送方向为前方,最前端的输送滚轴2处的机架1向前连接有下料板3;最后端的输送滚轴2处的机架1向后连接有上料装置,上料装置向下倾斜设置,上料装置采用皮带输送装置或链条输送装置。采用皮带输送装置时,图1中附图标记35所示为设置于输送皮带上的上料板,工作时上料板兜住马铃薯,使马铃薯随着皮带被输送至输送滚轴2处。采用链条输送装置时,图1中附图标记35所示为设置于链条上的上料斗,工作时上料斗兜住马铃薯,使马铃薯被输送至输送滚轴2处。上料装置的左右两侧设有用于阻挡马铃薯沿左右方向落下的上料挡板36。The conveying device includes a frame 1, and the frame 1 is provided with conveying rollers 2 at intervals, each conveying roller 2 is located on the same level, and the distance between adjacent conveying rollers 2 is 1-2.5 cm, so that the potatoes of normal size do not It will leak from the gap between the adjacent conveying rollers 2; with the conveying direction as the front, the frame 1 at the frontmost conveying roller 2 is connected forward with the blanking plate 3; The frame 1 is connected with a feeding device backwards, and the feeding device is arranged inclined downwards, and the feeding device adopts a belt conveying device or a chain conveying device. When the belt conveyor is adopted, reference numeral 35 in Fig. 1 shows the feeding plate arranged on the conveying belt, and the feeding plate catches the potatoes during work, so that the potatoes are transported to the conveying roller 2 along with the belt. When a chain conveying device is adopted, reference numeral 35 in Fig. 1 shows the upper hopper arranged on the chain, and the upper hopper catches the potatoes during operation, so that the potatoes are transported to the conveying roller 2 places. The left and right sides of the feeding device are provided with feeding baffles 36 for blocking potatoes from falling in the left and right directions.

输送滚轴2左右两侧的机架1上设有用于阻挡马铃薯沿左右方向落下的输送挡板组4;各输送滚轴2的左端部(输送滚轴2的左端部向左伸出输送挡板组4)均设有用于与动力机构传动连接的传动齿轮;动力机构为普通的齿轮传动机构,为本领域的常规技术,其具体结构不再详述,图未示。The frame 1 on the left and right sides of the conveying roller 2 is provided with the conveying baffle group 4 used to stop the potatoes from falling in the left and right directions; The plate group 4) is equipped with transmission gears for transmission connection with the power mechanism; the power mechanism is an ordinary gear transmission mechanism, which is a conventional technology in the field, and its specific structure will not be described in detail, and the figure is not shown.

输送装置中部的机架1向上连接有检测暗箱5,检测暗箱5的前侧壁下部和后侧壁下部对应开设有用于通过马铃薯的开口6;检测暗箱5内设有所述图像采集机构、上照明装置7和下照明装置8;(上照明装置7采用环形灯,下照明装置8采用LED灯)所述下照明装置8设有两个;The frame 1 in the middle part of the conveying device is upwardly connected with a detection box 5, and the lower part of the front side wall and the lower part of the rear side wall of the detection box 5 are correspondingly provided with an opening 6 for passing through potatoes; the detection box 5 is provided with the image acquisition mechanism, upper The lighting device 7 and the lower lighting device 8; (the upper lighting device 7 adopts a ring light, and the lower lighting device 8 adopts an LED lamp), and the lower lighting device 8 is provided with two;

检测暗箱5前后方向的中部位置正下方的相邻两个输送滚轴2采用透明滚轴机构;透明滚轴机构包括中空设置且两端敞口的透明玻璃滚轴9、左橡胶滚轴10、右橡胶滚轴11、左支撑装置、右支撑装置和支撑连杆15;左、右支撑装置均包括滚轴支架12和通过滚动轴承13连接在滚轴支架12上的插接筒14;左支撑装置的插接筒14的左端部设有用于与动力机构传动连接的传动齿轮(传动齿轮为常规结构,图未示);透明玻璃滚轴9的左端插接所述左橡胶滚轴10,透明玻璃滚轴9的右端插接所述右橡胶滚轴11,左、右橡胶滚轴10、11均与所述透明玻璃滚轴9过盈配合;右橡胶滚轴11的右端插接在所述右支撑装置的插接筒14内并与该插接筒14过盈配合,左橡胶滚轴10的左端插接在所述左支撑装置的插接筒14内并与该插接筒14过盈配合;右橡胶滚轴11中空设置,所述支撑连杆15的右端与一摄像动力装置传动连接,摄像动力装置连接在所述机架1的右端部。摄像动力装置采用气缸、液压缸、电动推杆等各种常见形式,为本领域常规技术,图未示。工作时,在时序模块32的控制下,摄像动力装置通过支撑连杆15带动下方局部图像采集模块的局部摄像头运动至马铃薯下方适合拍照的位置。The adjacent two conveying rollers 2 directly below the middle position in the front and rear direction of the detection box 5 adopt a transparent roller mechanism; the transparent roller mechanism includes a transparent glass roller 9, a left rubber roller 10, Right squeegee 11, left support device, right support device and support link 15; Left and right support device all comprise roller bracket 12 and the plug socket 14 that is connected on the roller bracket 12 by rolling bearing 13; Left support device The left end of the plug-in barrel 14 is provided with a transmission gear for transmission connection with the power mechanism (the transmission gear is a conventional structure, not shown in the figure); the left end of the transparent glass roller 9 is inserted into the left rubber roller 10, and the transparent glass The right end of the roller 9 is inserted into the right squeegee 11, and the left and right squeegee 10, 11 are interference fit with the transparent glass roller 9; the right end of the right squeegee 11 is inserted into the right The inserting sleeve 14 of the supporting device and interference fit with the inserting sleeve 14, the left end of the left rubber roller 10 is inserted in the inserting sleeve 14 of the left supporting device and is interference fit with the inserting sleeve 14 The right squeegee 11 is hollowly set, and the right end of the support link 15 is connected to a camera power device in transmission, and the camera power device is connected to the right end of the frame 1 . The camera power device adopts various common forms such as air cylinders, hydraulic cylinders, and electric push rods, which are conventional technologies in the art, and are not shown in the figure. During work, under the control of the timing module 32, the camera power unit drives the local camera of the local image acquisition module below to move to a position suitable for taking pictures under the potato through the support connecting rod 15.

支撑连杆15向左穿过所述右支撑装置的插接筒14和右橡胶滚轴11且其左端位于所述透明玻璃滚轴9内;The support connecting rod 15 passes through the inserting cylinder 14 and the right rubber roller 11 of the right supporting device to the left and its left end is located in the transparent glass roller 9;

所述两个透明滚轴机构之间的间隙形成红外传感通道16,所述红外传感器模块包括红外发射器17和红外接收器18,红外发射器17和红外接收器18分别位于红外传感通道16的左方和右方,且红外发射器17和红外接收器18均正对所述红外传感通道16;The gap between the two transparent roller mechanisms forms an infrared sensing channel 16, and the infrared sensor module includes an infrared transmitter 17 and an infrared receiver 18, and the infrared transmitter 17 and the infrared receiver 18 are located in the infrared sensing channel respectively. 16 to the left and right, and the infrared transmitter 17 and the infrared receiver 18 are facing the infrared sensing channel 16;

图像采集机构包括1个用于采集马铃薯全局图像的全局图像采集模块和6个用于采集马铃薯局部图像的局部图像采集模块;全局图像采集模块包括设置在检测暗箱5内后侧壁顶部的全局摄像头19;The image collection mechanism includes 1 global image collection module for collecting global images of potatoes and 6 local image collection modules for collecting partial images of potatoes; 19;

所述6个局部图像采集模块分别为1个位于检测暗箱5内后侧壁中部的后方局部图像采集模块22、1个位于检测暗箱5内左侧壁中部的左方局部图像采集模块23、1个位于检测暗箱5内右侧壁中部的右方局部图像采集模块24、1个位于检测暗箱5内前侧壁中部的前方局部图像采集模块25和2个下方局部图像采集模块26,每个所述的透明滚轴机构的透明玻璃滚轴9内分别设有1个所述的下方局部图像采集模块26和1个所述的下照明装置8,下方局部图像采集模块26和下照明装置8均连接在所述支撑连杆15的左端部;The 6 local image acquisition modules are respectively a rear partial image acquisition module 22 located in the middle of the rear side wall in the detection box 5, and a left partial image acquisition module 23 and 1 located in the middle of the left wall in the detection box 5. A right partial image acquisition module 24 positioned at the middle part of the right side wall in the detection dark box 5, a front partial image acquisition module 25 positioned at the middle part of the front side wall in the detection dark box 5, and two lower partial image acquisition modules 26, each of which The transparent glass roller 9 of the transparent roller mechanism described above is respectively provided with one of the lower partial image acquisition modules 26 and one of the lower lighting devices 8, and the lower partial image acquisition module 26 and the lower lighting device 8 are both connected to the left end of the supporting link 15;

前方、后方、左方和右方局部图像采集模块结构相同,均包括用于带动摄像头作往复直线运动的摄像头运动机构20和连接在摄像头运动机构20上的局部摄像头21;摄像头运动机构20包括导轨和驱动装置,摄像头滑动连接在导轨上并与驱动装置传动连接。驱动装置可以采用气缸、电动推杆、微型电机及丝杆机构等各种常见的直线驱动装置。摄像头运动机构20为本领域常规技术,图未详示。每个下方局部图像采集模块26包括局部摄像头21。The front, rear, left and right partial image acquisition modules have the same structure, and all include a camera motion mechanism 20 for driving the camera in a reciprocating linear motion and a local camera 21 connected to the camera motion mechanism 20; the camera motion mechanism 20 includes guide rails and the driving device, the camera is slidably connected on the guide rail and connected with the driving device in transmission. The driving device can adopt various common linear driving devices such as cylinder, electric push rod, micro motor and screw mechanism. The camera movement mechanism 20 is a conventional technique in the art, and is not shown in detail in the figure. Each lower partial image acquisition module 26 includes a partial camera 21 .

检测暗箱5出口处的机架1一侧设有用于将马铃薯沿左右方向推离输送装置的分选机构,分选机构所对应的输送挡板组4设有用于通过马铃薯的缺口27;所述分选机构为推杆式分选机构或者喷气式分选机构;图1中所示分选机构为推杆式分选机构。当采用喷气式分选机构时,喷气式分选机构包括通气管,通气管一端连接喷气嘴,另一端连接高压气缸或者气泵。推杆式分选机构或者喷气式分选机构的各部件均为本领域常规技术,图未详示其具体结构。One side of the frame 1 at the exit of the detection black box 5 is provided with a sorting mechanism for pushing the potatoes away from the conveying device along the left-right direction, and the corresponding conveying baffle group 4 of the sorting mechanism is provided with a gap 27 for passing through the potatoes; The sorting mechanism is a push rod type sorting mechanism or a jet type sorting mechanism; the sorting mechanism shown in Figure 1 is a push rod type sorting mechanism. When a jet-type separation mechanism is used, the jet-type separation mechanism includes a vent pipe, one end of which is connected to an air nozzle, and the other end is connected to a high-pressure cylinder or an air pump. Each component of the push rod type sorting mechanism or the jet type sorting mechanism is a conventional technology in the art, and the specific structure thereof is not shown in detail in the figure.

分选机构处的输送装置部分形成待分离区域。The part of the conveying device at the sorting mechanism forms the area to be separated.

所述检测暗箱5前方的机架1上连接有安装架29,安装架29上设有所述图像处理分析模块30、数据融合模块31和用于协调各部件动作的时序模块32(图1中未具体示出图像处理分析模块30、数据融合模块31和时序模块32);时序模块32连接所述动力机构、摄像头运动机构20的驱动装置、红外传感器模块、分选机构和图像处理分析模块30;The frame 1 in front of the detection black box 5 is connected with a mounting frame 29, and the mounting frame 29 is provided with the image processing and analysis module 30, the data fusion module 31 and the timing module 32 for coordinating the actions of each component (in Fig. 1 The image processing and analysis module 30, the data fusion module 31 and the timing module 32 are not specifically shown); the timing module 32 is connected to the power mechanism, the driving device of the camera movement mechanism 20, the infrared sensor module, the sorting mechanism and the image processing and analysis module 30 ;

所述局部摄像头21和全局摄像头19均连接所述图像处理分析模块30。Both the local camera 21 and the global camera 19 are connected to the image processing and analysis module 30 .

下料板3的左右两侧边向上连接有下料挡板33。从而使马铃薯在通过下料板3时不会从左右两侧掉下来。The left and right sides of the blanking plate 3 are upwardly connected with blanking baffles 33 . Thereby make potato can not fall from left and right sides when passing through blanking plate 3.

图1所示的分选机构为推杆式分选机构,所述推杆式分选机构包括分选动力装置(分选动力装置采用气缸、液压缸、电动推杆等各种常见形式,图未示)和与分选动力装置传动连接的推杆34,推杆34上设有用于推动马铃薯的拨板28。The sorting mechanism shown in Figure 1 is a push rod type sorting mechanism, and the push rod type sorting mechanism includes a sorting power device (the sorting power device adopts various common forms such as air cylinder, hydraulic cylinder, electric push rod, etc., as shown in Fig. not shown) and a push rod 34 connected to the sorting power unit transmission, the push rod 34 is provided with a dial 28 for pushing potatoes.

所述喷气式分选机构包括喷气管,喷气管一端连接高压气源(如气泵或者压缩空气罐),另一端连接有气嘴,气嘴位于检测暗箱5出口处的机架1一侧且气嘴开口朝向机架1的另一侧。喷气式分选机构的各部件均为常规技术,图未示。The air-jet sorting mechanism includes an air-jet pipe, one end of which is connected to a high-pressure air source (such as an air pump or a compressed air tank), and the other end is connected to an air nozzle, which is located on the side of the frame 1 at the outlet of the detection black box 5 and the air The mouth opening faces the other side of the frame 1. Each component of the jet sorting mechanism is conventional technology, not shown in the figure.

本实用新型还公开了采用上述全景视觉马铃薯分选和缺陷检测装置的马铃薯分选检测方法,依次按以下步骤进行:The utility model also discloses a potato sorting and detection method using the above-mentioned panoramic vision potato sorting and defect detection device, which is carried out in turn according to the following steps:

在开始对马铃薯进行分选检测之前,先使用正常无缺陷马铃薯的大小和形状规则度,以及有缺陷马铃薯的大小、形状规则度和表面缺陷种类信息,对数据融合模块31的支持向量机SVM进行离线训练,构建在线检测的支持向量机SVM分类器;Before starting to sort and detect the potatoes, first use the size and shape regularity of normal non-defective potatoes, and the size, shape regularity and surface defect type information of defective potatoes to carry out the support vector machine SVM of the data fusion module 31 Offline training, construction of support vector machine SVM classifier for online detection;

同时使用离线训练样本数据中不同尺寸、不同形状分类下的马铃薯区域面积Area、周长Perimeter和椭圆率Ellipticity所对应的特征值,对图像分析处理模块的支持向量机SVM进行离线训练,构建在线检测的支持向量机SVM分类器;在工作的过程中,上述两个支持向量机SVM得到越来越多的数据,使本实用新型的方法具有学习的特性,随着处理的马铃薯的图像越来越多,本实用新型的处理速度和处理准确度均会得到提升。At the same time, using the eigenvalues corresponding to the Area, Perimeter, and Ellipticity of potatoes under different sizes and shapes in the offline training sample data, the support vector machine SVM of the image analysis and processing module is trained offline to build an online detection The support vector machine SVM classifier; In the process of work, above-mentioned two support vector machine SVMs obtain more and more data, make the method of the present utility model have the characteristic of learning, along with the image of the potato of processing more and more Many, the processing speed and processing accuracy of the utility model all can be improved.

第一步骤是人工或者使用机械将马铃薯放置到上料装置上,然后开启动力机构,上料装置的上料板(或者上料斗)将马铃薯传送到输送滚轴2处,动力机构驱动各输送滚轴2旋转,带动马铃薯向前运动;The first step is to manually or mechanically place the potatoes on the feeding device, and then turn on the power mechanism. The feeding plate (or hopper) of the feeding device transfers the potatoes to the conveying roller 2, and the power mechanism drives each conveying roller. Axis 2 rotates to drive the potatoes forward;

第二步骤是开启红外传感器模块,马铃薯通过红外传感通道16时遮挡红外发射器17所发出的红外线;时序模块32检测到红外线传感器模块发出的红外线被遮挡的信号后,控制动力机构停止(此时马铃薯位于两个透明玻璃滚轴9之间),并控制全局摄像头19进行拍照;全局摄像头19对马铃薯进行拍照后将图像传送给图像处理分析模块30,图像处理分析模块30计算出马铃薯在检测暗箱5中的位置并将马铃薯的位置信息、形状信息和大小信息传送给时序模块32;时序模块32控制前方、后方、左方和右方局部图像采集模块的摄像头运动机构20以及下方局部图像采集模块的摄像动力装置,使各局部摄像头21向接近马铃薯的方向运动至适合的拍摄位置,各局部摄像头21(包括位于透明玻璃滚轴9内的两个摄像头)从不同方位对马铃薯进行拍照后分别将拍摄的图像传送给图像处理分析模块30;本步骤中,各局部摄像头21采集图像为原始三通道RGB图像,图像的像素为256*256。The second step is to open the infrared sensor module, and when the potato passes through the infrared sensing channel 16, it blocks the infrared rays sent by the infrared emitter 17; Potatoes are located between two transparent glass rollers 9), and the global camera 19 is controlled to take pictures; the global camera 19 takes pictures of the potatoes and sends the images to the image processing and analysis module 30, and the image processing and analysis module 30 calculates that the potatoes are detected The position in the camera obscura 5 and the position information, shape information and size information of the potatoes are sent to the timing module 32; the timing module 32 controls the camera movement mechanism 20 of the front, rear, left and right partial image acquisition modules and the local image acquisition below The camera power device of the module makes each local camera 21 move to a suitable shooting position in the direction close to the potato, and each local camera 21 (including two cameras located in the transparent glass roller 9) takes pictures of the potato from different directions and then respectively The captured image is sent to the image processing and analysis module 30; in this step, the images collected by each local camera 21 are the original three-channel RGB image, and the pixels of the image are 256*256.

第三步骤是图像处理分析模块30对接收到的图像进行处理,获取马铃薯的表面缺陷种类;图像处理分析模块30对于由局部图像采集模块采集的图像分析得到的马铃薯表面缺陷种类信息,以及由全局图像采集模块采集的图像分析得到的马铃薯位置、形状和大小信息发送至数据融合模块31;The 3rd step is that the image processing analysis module 30 processes the image received, obtains the surface defect type of potato; The potato position, shape and size information obtained by the image analysis collected by the image acquisition module are sent to the data fusion module 31;

第四步骤是使用数据融合模块31构建的支持向量机SVM分类器,对接收到的马铃薯表面缺陷种类信息、马铃薯位置、形状和大小信息进行数据融合,判断待检测马铃薯是否合格,并将判断结果发送至时序模块32;The fourth step is to use the support vector machine SVM classifier constructed by the data fusion module 31 to perform data fusion on the received potato surface defect type information, potato position, shape and size information, judge whether the potato to be tested is qualified, and judge the result Send to timing module 32;

第五步骤是时序模块32控制动力机构启动,马铃薯向前离开检测暗箱5并到达待分离区域后,时序模块32控制分选机构启动,将不合格的马铃薯由输送挡板上的用于通过马铃薯的缺口27处推离输送装置,合格马铃薯由输送装置输送至下料板3后送出,完成马铃薯的分选工作。The fifth step is that the timing module 32 controls the power mechanism to start. After the potatoes leave the detection black box 5 forward and arrive at the area to be separated, the timing module 32 controls the sorting mechanism to start, and the unqualified potatoes are passed through the potato on the conveying baffle. The gap 27 in the gap is pushed away from the conveying device, and the qualified potatoes are sent out after being transported to the cutting plate 3 by the conveying device, and the sorting work of potatoes is completed.

所述第二步骤中,图像分析处理模块根据全局摄像头19采集的图像分析得到马铃薯的形状和大小信息的处理过程为:In the second step, the image analysis and processing module obtains the shape and size information of potatoes according to the image analysis collected by the global camera 19. The processing process is:

首先对图像进行二值化,并进行滤波、形状学操作,得到二值化图像,并利用Roberts边缘检测算子进行边缘检测,在二值化图像上求得马铃薯区域面积Area、周长Perimeter和椭圆率Ellipticity;进一步,采用支持向量机SVM,根据离线训练样本数据,实时根据当前检测的马铃薯区域面积Area、周长Perimeter和椭圆率Ellipticity来判断马铃薯的大小、形状规则度;Firstly, the image is binarized, filtered, and shape operations are performed to obtain a binarized image, and the edge detection is performed using the Roberts edge detection operator, and the area, perimeter and Perimeter of the potato area are obtained on the binarized image. Ellipticity; Further, using support vector machine SVM, according to the offline training sample data, the size and shape regularity of potatoes are judged in real time according to the currently detected potato area Area, perimeter Perimeter and ellipticity;

(1)对当前待处理图像与背景图像进行相减从而获得待检马铃薯的前景像素部分;背景图像为没有马铃薯时全局摄像头19所拍摄图片;(1) Subtract the current image to be processed and the background image to obtain the foreground pixel part of the potato to be checked; the background image is a picture taken by the global camera 19 when there is no potato;

通过红外传感器模块可准确检测到输送装置上的马铃薯输送情况,因而能为图像处理分析模块30提供准确的参考信号输入。通过两桢图像相减,得到不相同的像素集合。The conveying condition of potatoes on the conveying device can be accurately detected by the infrared sensor module, thus providing accurate reference signal input for the image processing and analysis module 30 . By subtracting two frames of images, different sets of pixels are obtained.

对待检马铃薯的前景像素部分进行灰度化,获得前景部分;Grayscale the foreground pixel part of the potato to be inspected to obtain the foreground part;

(2)提取边缘特征;本操作是通过已经获取的前景部分获取马铃薯的边缘特征;具体是使用Roberts边缘检测算子对前景部分进行计算,得到一副代表马铃薯主要轮廓信息的黑白二值图像;(2) Extract the edge features; this operation is to obtain the edge features of the potato through the obtained foreground part; specifically, use the Roberts edge detection operator to calculate the foreground part, and obtain a pair of black and white binary images representing the main contour information of the potato;

(3) 全局特征值提取;在黑白二值图像的基础上,计算待检测马铃薯区域面积Area、周长Perimeter和椭圆率Ellipticity; (3) Global eigenvalue extraction; on the basis of black and white binary images, calculate the Area, Perimeter and Ellipticity of the potato area to be detected;

(4) 外观及尺寸分类;使用图像分析处理模块的支持向量机SVM,根据计算出的马铃薯区域面积Area、周长Perimeter和椭圆率Ellipticity计算出马铃薯的形状和大小信息。(4) Appearance and size classification; use the support vector machine SVM of the image analysis and processing module to calculate the shape and size information of the potato based on the calculated area, perimeter and Ellipticity of the potato.

所述第三步骤中,图像分析处理模块根据局部摄像头21采集的图像分析得到马铃薯的缺陷种类信息的处理过程为:In the third step, the image analysis processing module obtains the processing process of the defect type information of potatoes according to the image analysis collected by the local camera 21 as follows:

(1)将局部摄像头21采集的256*256原始三通道RGB图像缩放为224*224三通道RGB图像,(1) Scale the 256*256 original three-channel RGB image collected by the local camera 21 into a 224*224 three-channel RGB image,

再将缩放后的图像通过卷积神经网络CNN进行辨识,该卷积神经网络CNN包括8层,前5层为卷积层,第6~8层为全连接层。输出10维向量表示该图像属于10类马铃薯表面缺陷的概率密度分布。其卷积神经网络结构CNN如图5所示,网络的数据处理流程如下:Then the zoomed image is identified through the convolutional neural network CNN, which includes 8 layers, the first 5 layers are convolutional layers, and the 6th to 8th layers are fully connected layers. The output 10-dimensional vector represents the probability density distribution that the image belongs to 10 types of potato surface defects. Its convolutional neural network structure CNN is shown in Figure 5, and the data processing flow of the network is as follows:

(2)卷积神经网络的输入层为整个缩放后的图像,如图5所示,将图像按列展开,形成50176个结点;其中第一层的结点向前没有任何的连结线。(2) The input layer of the convolutional neural network is the entire scaled image. As shown in Figure 5, the image is expanded in columns to form 50176 nodes; the nodes of the first layer do not have any connecting lines forward.

(3)对展开后的图像进行卷积,产生三个特征提取图,然后对特征提取图中每组的四个像素再进行求和、加权值、加偏置,通过Sigmoid函数得到三个特征映射图;(3) Convolute the expanded image to generate three feature extraction maps, then sum, weight, and bias the four pixels in each group in the feature extraction map, and obtain three features through the Sigmoid function map;

(4)对产生的所述三个特征映射图再次进行卷积,卷积后产生三个二次特征提取图,然后对二次特征提取图中每组的四个像素再进行求和、加权值、加偏置,通过Sigmoid函数得到三个二次特征映射图。(4) Convolve the three generated feature maps again, generate three secondary feature extraction maps after convolution, and then sum and weight the four pixels in each group in the secondary feature extraction maps Value, add bias, and get three secondary feature maps through the Sigmoid function.

(5)对所述三个二次特征映射图进行光栅化,并连接成一个向量输入到传统的卷积神经网络,得到马铃薯的缺陷种类信息。(5) Rasterize the three secondary feature maps and connect them into a vector to input to the traditional convolutional neural network to obtain the defect type information of potatoes.

局部图像的马铃薯缺陷检测中借助卷积神经网络完成分类,该网络在本质上是一种输入到输出的映射,它能够学习大量的输入与输出之间的映射关系,而不需要任何输入和输出之间的精确的数学表达式,只要用已知的模式对卷积网络加以训练,网络就具有输入输出对之间的映射能力。卷积网络执行的是有导师训练,所以其样本集是由形如:(马铃薯局部表面二值输入图像向量,马铃薯表面缺陷类型输出向量)的向量对构成的。所有这些向量对,都应来源于网络即将模拟的系统的实际“运行”结果,它们是从实际运行系统中采集来的。在开始训练前,所有的权都用一些不同的小随机数进行初始化。In the potato defect detection of partial images, the classification is completed with the help of convolutional neural network, which is essentially an input-to-output mapping, which can learn a large number of mapping relationships between input and output without any input and output. The exact mathematical expression between them, as long as the convolutional network is trained with known patterns, the network has the ability to map between input and output pairs. The convolutional network is trained with a tutor, so its sample set is composed of vector pairs of the shape: (potato local surface binary input image vector, potato surface defect type output vector). All these vector pairs should come from the actual "running" results of the system to be simulated by the network, and they are collected from the actual running system. Before starting training, all weights are initialized with some different small random numbers.

在图像处理分析模块30中,其支持向量机SVM的离线训练样本库和卷积神经网络CNN的离线训练样本库可以增加样本数量。另外,马铃薯的大小、形状规则度和表面缺陷种类可以随着样本数量的增加而进一步细分。In the image processing analysis module 30, the offline training sample library of the support vector machine SVM and the offline training sample library of the convolutional neural network CNN can increase the number of samples. In addition, the size, shape regularity and surface defect types of potatoes can be further subdivided with the increase of sample size.

Claims (4)

1. panoramic vision Rhizoma Solani tuber osi sorts and defect detecting device, it is characterised in that:Including conveyer device, detection camera bellows, sorting Mechanism, infrared sensor module, image acquisition mechanism, the image procossing for being built-in with convolutional neural networks and support vector machines Analysis module, the data fusion module for being built-in with support vector machines and the tfi module for coordinating each component actuation;
Conveyer device includes frame, and conveying roller is interval with frame, and each conveying roller is located in same level, adjacent defeated Send between roller bearing at a distance of 1-2.5 centimetre;With conveying direction as front, the frame at conveying roller foremost is connected with forward Blanking plate;Frame at the conveying roller of rearmost end is connected with feeding device, the downward-sloping setting of feeding device, feeding dress backward Put using belt conveyor or chain conveyor;
The frame of the conveying roller left and right sides is provided with for stopping baffle conveying group that Rhizoma Solani tuber osi falls in left-right direction;It is each defeated The left part of roller bearing is sent to be equipped with the travelling gear for being connected with actuating unit;
Frame in the middle part of conveyer device has connected up detection camera bellows, detects that the front side wall bottom of camera bellows is corresponding with rear wall bottom Offer for by the opening of Rhizoma Solani tuber osi;Described image collecting mechanism, upper illuminator and lower illumination are provided with detection camera bellows Device;The lower lighting device is provided with two;
Two neighboring conveying roller immediately below the medium position of detection camera bellows fore-and-aft direction adopts transparent roller mechanism;Transparent rolling Axis mechanism include hollow setting and the clear glass roller bearing of open at both ends, left squeegee, right squeegee, left support device, Right support device and support link;Left and right support meanss include roller support and are connected to roller support by rolling bearing On grafting cylinder;The left part of the grafting cylinder of left support device is provided with the travelling gear for being connected with actuating unit;Thoroughly Left squeegee described in the left end grafting of bright glass roller bearing, right squeegee described in the right-hand member grafting of clear glass roller bearing are left and right Squeegee with the clear glass roller bearing interference fit;The right-hand member of right squeegee is plugged on inserting for the right support device Connect in cylinder and with the grafting cylinder interference fit, the left end of left squeegee be plugged in the grafting cylinder of the left support device and with The grafting cylinder interference fit;The hollow setting of right squeegee, the right-hand member of the support link and a shooting power set transmission connect Connect, image the right part that power set are connected to the frame, support link is to the left through the grafting cylinder of the right support device With right squeegee and its left end be located at the clear glass roller bearing in;
Gap between described two transparent roller mechanisms forms infrared sensing passage, and the infrared sensor module includes infrared Emitter and infrared remote receiver, infrared transmitter and infrared remote receiver are located at the left and right of infrared sensing passage respectively, and Infrared transmitter and infrared remote receiver are just to the infrared sensing passage;
Image acquisition mechanism include 1 for gather Rhizoma Solani tuber osi global image global image acquisition module and 6 be used for gather Topography's acquisition module of Rhizoma Solani tuber osi topography;Global image acquisition module includes being arranged on rear wall top in detection camera bellows The global photographic head in portion;
6 topography's acquisition modules are respectively 1 rear topography in detection camera bellows in the middle part of rear wall and adopt Collection module, 1 be located at the left topography acquisition module in detection camera bellows in the middle part of left side wall, 1 be located at it is right in detection camera bellows Right topography acquisition module, 1 front topography collection being located in detection camera bellows in the middle part of front side wall in the middle part of the wall of side Module and 2 lower section topography acquisition modules, are respectively equipped with 1 in the clear glass roller bearing of the transparent roller mechanism described in each Individual described lower section topography acquisition module and the lower lighting device described in 1, lower section topography acquisition module and lower photograph Bright device is both connected to the left part of the support link;
Front, rear, left and right topography acquisition module structure are identical, include reciprocal straight for driving photographic head to make The cam movement mechanism of line motion and the local cameras being connected in cam movement mechanism;Below each, topography adopts Collection module includes a local cameras;
The frame side in detection camera bellows exit is provided with the sorting mechanism for Rhizoma Solani tuber osi is pushed away conveyer device in left-right direction, Baffle conveying group corresponding to sorting mechanism is provided with for by the breach of Rhizoma Solani tuber osi;The sorting mechanism is push-down separator Structure or jet-propelled sorting mechanism;Conveyer device part at sorting mechanism forms region to be separated;
Installing rack is connected with frame in front of the detection camera bellows, installing rack is provided with described image Treatment Analysis module, number Tfi module according to Fusion Module and for coordinating each component actuation;Tfi module connects the actuating unit, cam movement The driving means of mechanism, infrared sensor module, sorting mechanism and image processing and analyzing module;
The local cameras and global photographic head are all connected with described image Treatment Analysis module.
2. panoramic vision Rhizoma Solani tuber osi according to claim 1 sorts and defect detecting device, it is characterised in that:Blanking plate Left and right sides have connected up discharge flapper, so that Rhizoma Solani tuber osi will not be fallen down from the left and right sides when by blanking plate.
3. panoramic vision Rhizoma Solani tuber osi according to claim 1 and 2 sorts and defect detecting device, it is characterised in that:It is described Push-down sorting mechanism includes the push rod for sorting power set and being connected with sorting power set, and push rod is provided with for pushing away The plate of dynamic Rhizoma Solani tuber osi.
4. panoramic vision Rhizoma Solani tuber osi according to claim 1 and 2 sorts and defect detecting device, it is characterised in that:It is described Jet-propelled sorting mechanism includes air jet pipe, and air jet pipe one end connection high-pressure air source, the other end are connected with valve, and valve is located at detection The opposite side of the frame side in camera bellows exit and valve opening towards frame.
CN201621055789.1U 2016-09-14 2016-09-14 Panoramic vision potato is selected separately and defect detecting device Expired - Fee Related CN206139527U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201621055789.1U CN206139527U (en) 2016-09-14 2016-09-14 Panoramic vision potato is selected separately and defect detecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201621055789.1U CN206139527U (en) 2016-09-14 2016-09-14 Panoramic vision potato is selected separately and defect detecting device

Publications (1)

Publication Number Publication Date
CN206139527U true CN206139527U (en) 2017-05-03

Family

ID=58618518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201621055789.1U Expired - Fee Related CN206139527U (en) 2016-09-14 2016-09-14 Panoramic vision potato is selected separately and defect detecting device

Country Status (1)

Country Link
CN (1) CN206139527U (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106238342A (en) * 2016-09-14 2016-12-21 郑州轻工业学院 The sorting of panoramic vision Rhizoma Solani tuber osi and defect detecting device and sorting detection method thereof
CN107280697A (en) * 2017-05-15 2017-10-24 北京市计算中心 Lung neoplasm grading determination method and system based on deep learning and data fusion
CN107321648A (en) * 2017-08-31 2017-11-07 东北农业大学 Potato multi-stage sorting machine based on machine vision technology
CN107860777A (en) * 2017-12-20 2018-03-30 桂林电子科技大学 A kind of electrolytic capacitor open defect detection means and detection method
CN107985668A (en) * 2017-11-30 2018-05-04 韩秋霞 A kind of needle tubing automatic finisher
CN108940805A (en) * 2018-08-08 2018-12-07 黑龙江八农垦大学 A kind of potato full automatic grading cleaning and sorting system based on light spectrum image-forming
CN109092699A (en) * 2018-07-25 2018-12-28 浙江大学 A kind of detection of garlic and prepare mashed garlic device and method
CN112517420A (en) * 2020-11-17 2021-03-19 苏州迈之升电子科技有限公司 Sorting method and system for application grating
CN112970032A (en) * 2018-11-07 2021-06-15 格立莫农业机械制造有限两合公司 Method for regulating the operation of a machine for harvesting root crops
CN113647096A (en) * 2019-04-05 2021-11-12 伟摩有限责任公司 Image sensor architecture
CN114852613A (en) * 2022-04-28 2022-08-05 福建省邵武市众一机械制造有限公司 Non-deformed, non-broken strip product clip holding and conveying device and screening equipment
CN115007489A (en) * 2022-06-09 2022-09-06 蒲丰(海宁)智能装备有限公司 A potato grading and sorting device based on artificial intelligence technology
CN115318659A (en) * 2022-10-13 2022-11-11 江苏蜜心枣业有限公司 Online visual inspection grading system for red date appearance
DE102023133229A1 (en) * 2023-11-28 2025-05-28 Felix Beck Image acquisition system and sorting device for agricultural products

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106238342A (en) * 2016-09-14 2016-12-21 郑州轻工业学院 The sorting of panoramic vision Rhizoma Solani tuber osi and defect detecting device and sorting detection method thereof
CN106238342B (en) * 2016-09-14 2018-05-15 郑州轻工业学院 Panoramic vision potato sorts and defect detecting device and its sorting detection method
CN107280697A (en) * 2017-05-15 2017-10-24 北京市计算中心 Lung neoplasm grading determination method and system based on deep learning and data fusion
CN107321648A (en) * 2017-08-31 2017-11-07 东北农业大学 Potato multi-stage sorting machine based on machine vision technology
CN107985668A (en) * 2017-11-30 2018-05-04 韩秋霞 A kind of needle tubing automatic finisher
CN107860777A (en) * 2017-12-20 2018-03-30 桂林电子科技大学 A kind of electrolytic capacitor open defect detection means and detection method
CN109092699B (en) * 2018-07-25 2020-05-12 浙江大学 Apparatus and method for detecting and preparing garlic paste
CN109092699A (en) * 2018-07-25 2018-12-28 浙江大学 A kind of detection of garlic and prepare mashed garlic device and method
CN108940805A (en) * 2018-08-08 2018-12-07 黑龙江八农垦大学 A kind of potato full automatic grading cleaning and sorting system based on light spectrum image-forming
CN112970032A (en) * 2018-11-07 2021-06-15 格立莫农业机械制造有限两合公司 Method for regulating the operation of a machine for harvesting root crops
CN113647096A (en) * 2019-04-05 2021-11-12 伟摩有限责任公司 Image sensor architecture
CN112517420A (en) * 2020-11-17 2021-03-19 苏州迈之升电子科技有限公司 Sorting method and system for application grating
CN114852613A (en) * 2022-04-28 2022-08-05 福建省邵武市众一机械制造有限公司 Non-deformed, non-broken strip product clip holding and conveying device and screening equipment
CN115007489A (en) * 2022-06-09 2022-09-06 蒲丰(海宁)智能装备有限公司 A potato grading and sorting device based on artificial intelligence technology
CN115318659A (en) * 2022-10-13 2022-11-11 江苏蜜心枣业有限公司 Online visual inspection grading system for red date appearance
DE102023133229A1 (en) * 2023-11-28 2025-05-28 Felix Beck Image acquisition system and sorting device for agricultural products

Similar Documents

Publication Publication Date Title
CN106238342B (en) Panoramic vision potato sorts and defect detecting device and its sorting detection method
CN206139527U (en) Panoramic vision potato is selected separately and defect detecting device
CN1329132C (en) On-line fruit quality detection and classification apparatus and method based on three camera chains
CN103418554B (en) Based on control system and the control method of the small-sized Intelligent agricultural product separator of DSP
CN102179374B (en) Automatic detecting and sorting device for poultry egg quality and method thereof
CN103801520B (en) The automatic well-chosen stage division of shrimp and device
CN110246122A (en) Small size bearing quality determining method, apparatus and system based on machine vision
CN106733701B (en) Potato multi-stage combination dysnusia detecting system and detection method
CN105181714B (en) A kind of bottling liquid Impurity Detection System and its detection method based on image procossing
CN107185858B (en) A kind of fruit detection and classification system and method
CN105044122A (en) Copper part surface defect visual inspection system and inspection method based on semi-supervised learning model
CN113145492B (en) A visual grading method and grading production line for pear appearance quality
CN116159773B (en) Coal gangue separation method based on series connection of visible light and X-rays and device thereof
CN202974886U (en) Machine-vision-based tank body seam defect detection system
CN203226259U (en) Sectional selection device for tobacco laminae
CN107350168A (en) A kind of potato Fast nondestructive evaluation self-grading device and method
CN110146516A (en) Fruit grading device based on orthogonal binocular machine vision
CN114723668A (en) Cathode copper quality detection method and system based on area-array camera
CN202037127U (en) Automatic egg quality detection and separation equipment
CN113245222B (en) Visual real-time detection and sorting system and sorting method for foreign matters in panax notoginseng
CN206139529U (en) Transparent roller bearing mechanism
CN210071686U (en) Fruit grading plant based on orthogonal binocular machine vision
CN111257339B (en) An online detection method and detection device for preserved egg cracks based on machine vision
CN111359907A (en) Real-time online detection system and method for wheat scab infection particle rate based on embedded deep learning
CN207126835U (en) A kind of potato Fast nondestructive evaluation self-grading device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170503

Termination date: 20180914