Silkworm cocoon type detecting and sorting device based on image processing

By designing an image processing-based silkworm cocoon type detection and sorting device, and using a CCD camera and a ring LED light source combined with a Python program, automated and intelligent detection of silkworm cocoons is achieved. This solves the problems of time-consuming and inaccurate manual detection, and improves detection efficiency and accuracy.

CN119500596APending Publication Date: 2025-02-25SOUTHWEST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411581692.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-07
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In existing technologies, the detection and sorting of silkworm cocoons rely on manual operation, which is time-consuming and lacks accuracy, affecting the large-scale detection and quality control of silkworm cocoons.

Method used

Design an image processing-based silkworm cocoon type detection and sorting device, including a feeding part, an image acquisition part, and a sorting component. The device uses a CCD camera and a ring LED light source for image acquisition, combines a Python program for identification, and utilizes the sorting component and a robotic arm to achieve automated sorting.

Benefits of technology

It has achieved automated and intelligent detection of silkworm cocoons, improving detection efficiency and accuracy, reducing costs, and enabling real-time display of detection results and integration with the management system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119500596A_ABST
    Figure CN119500596A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent detection, in particular to a silkworm cocoon type detecting and sorting device based on image processing. The device comprises a device rack as well as a control cabinet, a feeding part, an image acquisition part and a sorting assembly which are mounted on the device rack, wherein the feeding part is arranged at one end of the device rack. Silkworm cocoons can be divided into single layers to be orderly arranged through the feeding part, real-time detection can be conveniently achieved through the image acquisition part at a constant speed, the image acquisition part adopts a single CCD camera and an annular LED light source, and then a target area image and an identification result can be obtained; according to the silkworm cocoon sorting device, the sorting assembly can achieve intelligent screening, through the structural design of the sorting mechanism, the mounting side plate and the mechanical arm, the device can control the discharging quantity, meanwhile, damaged silkworm cocoons can be sorted out, the analysis result of image analysis software is prevented from being affected, and the detection efficiency and the detection accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent detection technology, and in particular to a cocoon type detection and sorting device based on image processing. Background Art

[0002] As the most economically valuable product in the sericulture industry, the detection of silk cocoons is not only directly related to the economic interests of the silk sector and silk farmers, but also critical to ensuring the quality of silk, production efficiency and improving the market competitiveness of silk products. At present, the detection and sorting of silk cocoons rely on manpower, which is not only time-consuming, but also the results are affected by personal subjective cognition and lack accuracy. This is extremely unfavorable for large-scale detection, quality control and management of silk cocoons, as well as effective utilization. Therefore, it is necessary to study a detection device that can realize automation, intelligent detection, accurate and reliable, to replace the manual identification of silk cocoon species. In response to this practical demand, the present invention provides a silk cocoon species detection and sorting device based on image processing. It can be used for rapid sampling of production lines, and has the advantages of rapidity and accuracy and important practical value. Summary of the invention

[0003] The object of the present invention is to provide a cocoon type detection and sorting device based on image processing to solve the problems raised in the above background technology.

[0004] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0005] A cocoon species detection and sorting device based on image processing comprises a device frame and a control cabinet, a feeding part, an image acquisition part and a sorting component installed on the device frame, wherein the feeding part is arranged at one end of the device frame, the image acquisition part is arranged at one end of the device frame and close to the feeding part, and the sorting component is arranged at one end of the device frame and away from the feeding part. The control cabinet, the feeding part and the image acquisition part are used for identifying the cocoon species and displaying the results in real time, and the sorting component is used for classifying and discharging the cocoons. The control cabinet comprises a host, a controller, a power supply, a display screen and a keyboard, a cocoon species identification program based on Python is arranged in the host, and a display screen and a keyboard are arranged on the host.

[0006] Preferably, the feeding part includes a chute, a spiral track, a hopper, a vibration motor, a motor bracket and a frame, a frame is provided at one end of the device frame, a motor bracket is fixed to the top of the frame, a vibration motor is fixed to the inner side of the motor bracket, a hopper is fixed to the top of the motor bracket, a spiral track is fixed to the inner side of the motor bracket and close to the hopper, and a chute is fixed to the outer side of the motor bracket and close to the end of the spiral track.

[0007] Preferably, the image acquisition part includes an industrial camera, a first conveyor belt, a first conveyor belt motor, a first conveyor belt, a slide groove, an annular light source and a polarizer. An industrial camera is fixed to the top of the inner side of one end of the device frame. The first conveyor belt is located directly below the inclined groove. The industrial camera, the first conveyor belt, the first conveyor belt motor, the first conveyor belt, the slide groove, the annular light source and the polarizer are used to collect the original image of the cocoon and provide it to the host for processing.

[0008] Preferably, the sorting component includes a sensor, a second conveyor belt motor, a second conveyor belt, a second conveyor belt, an air pump, a first air hose, a second air hose, a third air hose, a first air pump push rod, a second air pump push rod, a third air pump push rod, a third aggregate box, a second aggregate box, a first aggregate box and a fourth aggregate box, the third aggregate box, the second aggregate box, the first aggregate box and the fourth aggregate box are fixed on the inner side of the device frame, the first air pump push rod, the second air pump push rod and the third air pump push rod are also fixed on the inner side of the device frame, the first air pump push rod, the second air pump push rod and the third air pump push rod are respectively fixed at one end of the first air hose, the second air hose and the third air hose, an air pump is fixed at one end of the first air hose, the second air hose and the third air hose, and the inner side of the device frame is also provided with a sensor, a second conveyor belt motor, a second conveyor belt and a second conveyor belt.

[0009] Preferably, a material dividing mechanism is installed between the chute and the industrial camera.

[0010] Preferably, the material dispensing mechanism includes a driving assembly and a transmission assembly, an L-shaped arm is fixed on the outside of the motor bracket and close to the inclined slot, the driving assembly is mounted on the L-shaped arm, and the transmission assembly is mounted on the inside of the driving assembly.

[0011] Preferably, the driving assembly includes a matching driving motor, a wheel disc, a first arc protrusion, a swing arm, a second arc protrusion, a connecting spring, a force ball, a collecting box, a matching top cover, a force guide column, a feeding port and a discharging inclined port. A matching driving motor is fixed to one side of the L-shaped support arm, and a wheel disc is fixed to the output end of the matching driving motor through the L-shaped support arm, a first arc protrusion is fixed to the outer side of the wheel disc, a swing arm is rotatably connected to one side of the L-shaped support arm and located below the wheel disc, and a second arc protrusion is fixed to the top of the swing arm. The second arc protrusions are slidably connected to the wheel disc and the first arc protrusion, a force-applying ball is fixed to one end of the swing arm, a connecting spring is fixed to one end of the L-shaped support arm, one end of the connecting spring is fixed to the swing arm, a collection box is fixed to the bottom of the L-shaped support arm, a matching top cover is fixed to the top of the collection box, a force guide column is slidably connected to the top of the matching top cover, a feed port is provided at the top of the matching top cover and at a position corresponding to the inclined groove, a material discharge inclined port is provided on the outer side of the material collection box, and the bottom of the inner side of the material discharge inclined port is inclined.

[0012] Preferably, the transmission assembly includes a material-discharging blade rack, an inner connecting tube, a vertical groove, a folding continuous groove, a guide column and a transmission cylinder. The bottom of the inner side of the material collection box is rotatably connected with the material-discharging blade rack, and a plurality of blades are evenly fixed to the outer side of the material-discharging blade rack. The inner side of the material-discharging blade rack is fixed with an inner connecting tube, and a plurality of vertical grooves are provided on the inner side of the inner connecting tube. A folding continuous groove is provided on the bottom of the plurality of vertical grooves. The inner side of the inner connecting tube is slidably connected with a guide column, and the bottom of the guide column is rotatably connected with a return spring, one end of the return spring is fixed to the material collection box, and the guide column is fixed to the force guiding column. A plurality of transmission cylinders corresponding to the positions of the vertical grooves are evenly fixed on the outer side of the guide column, and the transmission cylinder is slidably connected to the vertical groove and the folding continuous groove.

[0013] Preferably, a mounting side plate is fixed to one end of the device frame, a manipulator is fixed to one end of the mounting side plate, and the manipulator is electrically connected to the controller.

[0014] It can be seen without a doubt that the above-mentioned technical solution of the present application can definitely solve the technical problem to be solved by the present application.

[0015] At the same time, through the above technical solutions, the present invention has at least the following beneficial effects:

[0016] 1. The present invention can divide the cocoons into single layers and arrange them in order through the feeding part, which is convenient for real-time detection through the image acquisition part at a uniform speed, thereby improving the detection efficiency. The image acquisition part adopts a single CCD camera and a ring-shaped LED light source. The collected original image is processed by a target detection program written based on Python, so that the target area image and recognition result can be obtained, thereby reducing the cost; the sorting component can realize intelligent screening, and provide a convenient and reliable solution for the detection and classified storage of cocoons; the control cabinet can control the action of the entire device and display the detection results in real time, and the detection data can be connected to the management system.

[0017] 2. The present invention uses the structural design of the sorting mechanism, the mounting side plate and the manipulator to enable the device to control the amount of material discharged, and at the same time, the damaged cocoons can be sorted out to avoid affecting the analysis results of the image analysis software, thereby improving the detection efficiency and detection accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0019] Figure 1 It is a structural schematic diagram of the present invention;

[0020] Figure 2 It is a schematic diagram of the connection structure between the spiral track and the hopper of the present invention;

[0021] Figure 3 It is a schematic diagram of the connection structure between the first conveyor belt and the chute of the present invention;

[0022] Figure 4 It is a schematic diagram of the connection structure between the industrial camera and the annular light source of the present invention;

[0023] Figure 5 It is a schematic diagram of the connection structure between the third air pump push rod and the third air guide hose of the present invention;

[0024] Figure 6 A schematic diagram of the connection structure of the display screen and the keyboard of the present invention;

[0025] Figure 7 It is a schematic diagram of the connection structure between the motor bracket and the L-shaped support arm of the present invention;

[0026] Figure 8 It is a schematic diagram of the connection structure between the material collecting box and the matching top cover of the present invention;

[0027] Fig. 9It is a schematic diagram of the connection structure between the material-dispensing blade frame and the inner connecting tube of the present invention;

[0028] Fig.10 It is a schematic diagram of the connection structure between the mounting side plate and the manipulator of the present invention.

[0029] In the accompanying drawings, the components represented by the reference numerals are listed as follows:

[0030] In the figure: 1. control cabinet; 101. display screen; 102. keyboard; 2. feeding part; 201. chute; 202. spiral track; 203. hopper; 204. vibration motor; 205. motor bracket; 206. rack; 3. image acquisition part; 301. industrial camera; 302. first conveyor belt; 303. first conveyor belt motor; 304. first conveyor belt; 305. chute; 306. ring light source; 307. polarizer; 4. sorting component; 401. sensor; 402. second conveyor belt motor; 403. second conveyor belt; 404. second conveyor belt; 405. air pump; 406. first air hose; 407. second air hose; 408. Three air guide hoses; 409, first air pump push rod; 410, second air pump push rod; 411, third air pump push rod; 412, third collection box; 413, second collection box; 414, first collection box; 415, fourth collection box; 5, L-shaped support arm; 6, matching drive motor; 7, wheel plate; 8, first arc protrusion; 9, swing arm; 10, second arc protrusion; 11, connecting spring; 12, force ball; 13, collection box; 14, matching top cover; 15, force guide column; 16, feed port; 17, unloading inclined port; 18, material discharging blade rack; 19, internal connection tube; 20, vertical groove; 21, folding continuous groove; 22, guide column; 23, transmission cylinder; 24, installation side plate; 25, manipulator. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0032] Example 1

[0033] Reference Figure 1-6A cocoon species detection and sorting device based on image processing comprises a device frame and a control cabinet 1, a feeding part 2, an image acquisition part 3 and a sorting component 4 installed on the device frame, wherein the feeding part 2 is arranged at one end of the device frame, the image acquisition part 3 is arranged at one end of the device frame and close to the feeding part 2, and the sorting component 4 is arranged at one end of the device frame and away from the feeding part 2. The control cabinet 1, the feeding part 2 and the image acquisition part 3 are used for identifying the cocoon species and displaying the results in real time, and the sorting component 4 is used for classifying and discharging the cocoons. The control cabinet 1 comprises a host, a controller, a power supply, a display screen 101 and a keyboard 102. A cocoon species identification program based on python is arranged in the host, and a display screen 101 and a keyboard 102 are arranged on the host.

[0034] The feeding part 2 includes a chute 201, a spiral track 202, a hopper 203, a vibration motor 204, a motor bracket 205 and a frame 206. The frame 206 is provided at one end of the device frame, the motor bracket 205 is fixed on the top of the frame 206, the vibration motor 204 is fixed on the inner side of the motor bracket 205, the hopper 203 is fixed on the top of the motor bracket 205, the spiral track 202 is fixed on the inner side of the motor bracket 205 and close to the hopper 203, and the outer side of the motor bracket 205 and close to the end of the spiral track 202 is fixed. A chute 201 is fixed in position, one end of the chute 201 is connected to a baffle at the spiral mouth, and the other end is close to the first conveyor belt 302, so that the cocoons can be arranged in order on the surface of the first conveyor belt 302, and the first conveyor belt 302 passes through the image acquisition part 3. The vibration motor 204 is fixedly installed under the hopper 203 by the motor bracket 205, so that the hopper 203 can vibrate in the vertical direction, so that the cocoons rise along the spiral track 202, and the width of the spiral track 202 is greater than the maximum cross-sectional area of ​​a cocoon and less than the sum of the maximum cross-sectional areas of two cocoons.

[0035] The image acquisition part 3 includes an industrial camera 301, a first conveyor belt 302, a first conveyor belt motor 303, a first conveyor belt 304, a chute 305, an annular light source 306 and a polarizer 307. The industrial camera 301 is fixed to the top of the inner side of one end of the device frame, and the first conveyor belt 302 is located directly below the inclined slot 201. The industrial camera 301, the first conveyor belt 302, the first conveyor belt motor 303, the first conveyor belt 304, the chute 305, the annular light source 306 and the polarizer 307 are used to collect the original image of the silk cocoon and provide it to the host for processing. The polarizer 307 is used to solve the reflection problem, and the annular light source 306 is used to reduce the influence of lighting shadows, so as to obtain an original image with better quality. Among them, the industrial camera 301 is a CCD camera, and the annular light source 306 is an annular LED light source.

[0036] The sorting component 4 includes a sensor 401, a second conveyor belt motor 402, a second conveyor belt 403, a second conveyor belt 404, an air pump 405, a first air guide hose 406, a second air guide hose 407, a third air guide hose 408, a first air pump push rod 409, a second air pump push rod 410, a third air pump push rod 411, a third aggregate box 412, a second aggregate box 413, a first aggregate box 414 and a fourth aggregate box 415, and the inner side of the device frame is fixed with the third aggregate box 412, the second aggregate box 413, the first aggregate box 414 and the fourth aggregate box 415, and the inner side of the device frame is also fixed with the first air pump push rod 409, the second air pump push rod 410 and the third air pump push rod 411, the first air pump push rod 409, the second air pump push rod 410 and the third air pump push rod 411 The first air hose 406, the second air hose 407 and the third air hose 408 are fixed to one end of the second air pump push rod 410 and the third air pump push rod 411 respectively. An air pump 405 is fixed to one end of the first air hose 406, the second air hose 407 and the third air hose 408. The inner side of the device frame is also provided with a sensor 401, a second conveyor motor 402, a second conveyor belt 403 and a second conveyor belt 404. The control cabinet 1 is composed of a power supply, a controller, a host, a display screen 101 and a keyboard 102, which are used to process and identify the original image from the image acquisition part 3, send control instructions to the sorting component 4, and display the detection results of a batch of cocoons (such as original images, recognition images and other data) in real time.

[0037] Among them, the first air pump push rod 409, the second air pump push rod 410, and the third air pump push rod 411 are arranged in parallel and slightly higher than the surface of the second conveyor belt 404, so as to facilitate pushing the corresponding cocoons into the corresponding collection box, and the sensor 401 is located just above the exit of the chute 305. By identifying the data, the controller can control the actions of the first air pump push rod 409, the second air pump push rod 410, and the third air pump push rod 411, so as to classify the cocoons into three categories: yellow spot cocoons, firewood print cocoons, and deformed cocoons, and enter the third collection box 412, the second collection box 413, and the first collection box 414 respectively, and the cocoons on the car fall into the fourth collection box 415 through the end of the second conveyor belt 404; the sensor 401 is an optical fiber sensor.

[0038] Example 2

[0039] Embodiment 1 is further optimized, specifically, as Figure 7-10 As shown, a material dividing mechanism is installed between the inclined slot 201 and the industrial camera 301 .

[0040] The material dispensing mechanism includes a driving assembly and a transmission assembly. An L-shaped arm 5 is fixed to the outside of the motor bracket 205 and close to the chute 201. The driving assembly is mounted on the L-shaped arm 5, and the transmission assembly is mounted on the inside of the driving assembly.

[0041] The driving assembly includes a matching driving motor 6, a wheel disc 7, a first arc protrusion 8, a swing arm 9, a second arc protrusion 10, a connecting spring 11, a force ball 12, a collecting box 13, a matching top cover 14, a guide column 15, a feeding port 16 and a discharging inclined port 17. A matching driving motor 6 is fixed to one side of the L-shaped support arm 5, and a wheel disc 7 is fixed to the output end of the matching driving motor 6 through the L-shaped support arm 5. The first arc protrusion 8 is fixed to the outer side of the wheel disc 7. A swing arm 9 is rotatably connected to one side of the L-shaped support arm 5 and is located below the wheel disc 7. A second arc protrusion 10 is fixed to the top of the swing arm 9. The second arc protrusion 10 is slidably connected to the wheel disc 7 and the first arc protrusion 8. A force ball 12 is fixed to one end of the swing arm 9, and a connecting spring 11 is fixed to one end of the L-shaped support arm 5. One end of the connecting spring 11 is fixed to the swing arm 9, and a collecting box 13 is fixed to the bottom of the L-shaped support arm 5. A matching top cover 14 is fixed to the top of the collecting box 13. A force guiding column 15 is slidably connected to the top of the matching top cover 14. A feeding port 16 is provided at the top of the matching top cover 14 and at a position corresponding to the inclined groove 201. A material unloading inclined port 17 is provided on the outer side of the collecting box 13, and the bottom of the inner side of the material unloading inclined port 17 is inclined. When the matching drive motor 6 is started, the output end of the matching drive motor 6 drives the wheel 7 and the first circular arc protrusion 8 to rotate, so that the first circular arc protrusion 8 pushes the second circular arc protrusion 10, and then the swing arm 9 stretches the connecting spring 11 to deform it until the swing arm 9 drives the force ball 12 to press the force guiding column 15 downward, and this reciprocating process is realized to realize a cyclic pressing process.

[0042] The transmission assembly includes a material-dispensing blade rack 18, an inner connecting tube 19, a vertical groove 20, a folding continuous groove 21, a guide column 22 and a transmission cylinder 23. The bottom of the inner side of the collecting box 13 is rotatably connected with the material-dispensing blade rack 18, and a plurality of blades are evenly fixed on the outer side of the material-dispensing blade rack 18. The inner side of the inner connecting tube 19 is fixed with a plurality of vertical grooves 20, and a folding continuous groove 21 is provided at the bottom of the plurality of vertical grooves 20. The inner side of the inner connecting tube 19 is slidably connected with a guide column 22, and the bottom of the guide column 22 is rotatably connected with a reset spring, one end of the reset spring is fixed to the collecting box 13, the guide column 22 is fixed to the force guide column 15, and a plurality of blades are evenly fixed on the outer side of the guide column 22. The transmission cylinder 23 corresponds to the position of the vertical groove 20, and the transmission cylinder 23 is slidably connected with the vertical groove 20 and the folding continuous groove 21. When the guide column 15 is pressed, the transmission cylinder 23 moves downward along the vertical groove 20. Under the guidance of the folding continuous groove 21, the transmission cylinder 23 can enter the folding continuous groove 21, so that the inner connecting tube 19 is subjected to axial thrust, and then the inner connecting tube 19 drives the material-moving blade frame 18 to rotate. At this time, the blade moves the cocoon for transportation. When the cocoon is located in the material discharge inclined port 17, since the bottom of the inner side of the material discharge inclined port 17 is inclined, the cocoon can naturally slide onto the first conveyor belt 302 for transportation, and a material separation process can be completed.

[0043] A mounting side panel 24 is fixed at one end of the device frame, and a manipulator 25 is fixed at one end of the mounting side panel 24. The manipulator 25 is electrically connected to the controller. When the cocoons pass through the first conveyor belt 302, the information of damaged cocoons is transmitted to the controller through the identification program. The controller controls the manipulator 25 to start and sort out the damaged cocoons to avoid affecting the analysis results of the image analysis software.

[0044] From the above, we can know that:

[0045] The present invention is directed to the following technical problem: At present, the detection and sorting of silk cocoons are done by manpower, which is not only time-consuming, but also the results are affected by personal subjective cognition and lack accuracy. This is extremely disadvantageous for the large-scale detection, quality control and management of silk cocoons, as well as their effective utilization. Therefore, it is necessary to study a detection device that can realize automatic, intelligent detection, accurate and reliable detection, to replace the manual identification of silk cocoon species; adopt the technical solutions of the above embodiments. At the same time, the implementation process of the above technical solution is:

[0046] First, the silk cocoons to be tested are put into the hopper 203, and the vibration motor 204 is started to drive the hopper 203 to vibrate in the vertical direction, so that the silk cocoons rise along the spiral track 202. There is a baffle at the exit of the spiral track 202 where the silk cocoons enter the chute 201 through the baffle and slide onto the first conveyor belt 302. At this time, the CCD camera on the first conveyor belt 302 collects images of the silk cocoons, and the image information of the collected silk cocoons is analyzed by the image analysis software to determine which category the silk cocoons to be tested belong to. After the detection software in the control cabinet 1 obtains the result, it issues a sorting instruction. At this time, the silk cocoons to be sorted enter the second conveyor belt 302 through the chute 305. Belt 404, the optical fiber sensor 401 installed above the exit of the slide 305 detects that the cocoons to be sorted enter the second conveyor belt 404, and starts timing. Since the speed of the second conveyor belt 404 is constant, before the cocoons to be sorted reach the corresponding air pump push rods (the first air pump push rod 409, the second air pump push rod 410, and the third air pump push rod 411) at the corresponding time, the control cabinet 1 issues a sorting instruction, and the air pump push rods (the first air pump push rod 409, the second air pump push rod 410, and the third air pump push rod 411) push the cocoons into the collecting boxes below (the third collecting box 412, the second collecting box 413, and the first collecting box 414), and the subsequent cocoons to be tested are sorted in sequence.

[0047] Through the above configuration, the present application can certainly solve the above technical problems and achieve the following technical effects:

[0048] 1. The present invention can divide the cocoons into single layers and arrange them in order through the feeding part 2, which is convenient for real-time detection through the image acquisition part 3 at a uniform speed, thereby improving the detection efficiency. The image acquisition part 3 adopts a single CCD camera and a ring-shaped LED light source. The collected original image is processed by a target detection program written based on Python, so that the target area image and recognition result can be obtained, thereby reducing the cost; the sorting component 4 can realize intelligent screening, and provide a convenient and reliable solution for the detection and classified storage of cocoons; the control cabinet 1 can control the action of the entire device and display the detection results in real time, and the detection data can be connected to the management system.

[0049] 2. The present invention uses the structural design of the sorting mechanism, the mounting side plate 24 and the manipulator 25 to enable the device to control the amount of material discharged, and at the same time, the damaged cocoons can be sorted out to avoid affecting the analysis results of the image analysis software, thereby improving the detection efficiency and detection accuracy.

[0050] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral one; it can be a mechanical connection, an electrical connection, or communication with each other; it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0051] Obviously, the embodiments described above are only some embodiments of the present invention, rather than all embodiments. The preferred embodiments of the present invention are given in the accompanying drawings, but they do not limit the patent scope of the present invention. The present invention can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive. Although the present invention has been described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific embodiments, or to perform equivalent replacements for some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of the present invention, directly or indirectly used in other related technical fields, is also within the scope of patent protection of the present invention.

Claims

1. A device for detecting and sorting silkworm cocoon species based on image processing, characterized in that: The invention comprises a device frame and a control cabinet (1) mounted on the device frame, a feeding part (2), an image acquisition part (3) and a sorting component (4); the feeding part (2) is arranged at one end of the device frame, the image acquisition part (3) is arranged at one end of the device frame and close to the feeding part (2), and the sorting component (4) is arranged at one end of the device frame and away from the feeding part (2); the control cabinet (1), the feeding part (2) and the image acquisition part (3) are used for identifying the type of silkworm cocoons and displaying the results in real time; the sorting component (4) is used for classifying and discharging silkworm cocoons; the control cabinet (1) comprises a host, a controller, a power supply, a display screen (101) and a keyboard (102); a silkworm cocoon type identification program based on Python is arranged in the host, and the display screen (101) and the keyboard (102) are arranged on the host.

2. The device for detecting and sorting silkworm cocoon species based on image processing according to claim 1, characterized in that: The feeding part (2) comprises a chute (201), a spiral track (202), a hopper (203), a vibration motor (204), a motor bracket (205) and a frame (206); the frame (206) is arranged at one end of the device frame; the motor bracket (205) is fixed on the top of the frame (206); the vibration motor (204) is fixed on the inner side of the motor bracket (205); the hopper (203) is fixed on the top of the motor bracket (205); the spiral track (202) is fixed on the inner side of the motor bracket (205) and close to the hopper (203); and the chute (201) is fixed on the outer side of the motor bracket (205) and close to the end of the spiral track (202).

3. The device for detecting and sorting silkworm cocoon species based on image processing according to claim 2, characterized in that: The image acquisition part (3) comprises an industrial camera (301), a first conveyor belt (302), a first conveyor belt motor (303), a first conveyor belt (304), a chute (305), an annular light source (306) and a polarizer (307); the industrial camera (301) is fixed to the top of the inner side of one end of the device frame; the first conveyor belt (302) is located directly below the inclined chute (201); the industrial camera (301), the first conveyor belt (302), the first conveyor belt motor (303), the first conveyor belt (304), the chute (305), the annular light source (306) and the polarizer (307) are used to collect the original image of the silk cocoon and provide it to the host for processing.

4. The device for detecting and sorting silkworm cocoon species based on image processing according to claim 1, characterized in that: The sorting component (4) includes a sensor (401), a second conveyor motor (402), a second conveyor belt (403), a second conveyor belt (404), an air pump (405), a first air hose (406), a second air hose (407), a third air hose (408), a first air pump push rod (409), a second air pump push rod (410), a third air pump push rod (411), a third aggregate box (412), a second aggregate box (413), a first aggregate box (414) and a fourth aggregate box (415); the third aggregate box (412), the second aggregate box (413), the first aggregate box (414) and the fourth aggregate box (415) are fixed on the inner side of the device frame; A first air pump push rod (409), a second air pump push rod (410) and a third air pump push rod (411) are also fixed on the inner side of the device frame; a first air guide hose (406), a second air guide hose (407) and a third air guide hose (408) are respectively fixed to one end of the first air pump push rod (409), the second air pump push rod (410) and the third air pump push rod (411); an air pump (405) is fixed to one end of the first air guide hose (406), the second air guide hose (407) and the third air guide hose (408); a sensor (401), a second conveyor belt motor (402), a second conveyor belt (403) and a second conveyor belt (404) are also arranged on the inner side of the device frame.

5. The device for detecting and sorting silkworm cocoon species based on image processing according to claim 3, characterized in that: A material dividing mechanism is installed between the inclined slot (201) and the industrial camera (301).

6. The device for detecting and sorting silkworm cocoon species based on image processing according to claim 5, characterized in that: The material dispensing mechanism comprises a driving assembly and a transmission assembly. An L-shaped support arm (5) is fixed on the outside of the motor bracket (205) and close to the inclined slot (201). The driving assembly is mounted on the L-shaped support arm (5), and the transmission assembly is mounted on the inside of the driving assembly.

7. The device for detecting and sorting silkworm cocoon species based on image processing according to claim 6, characterized in that: The driving assembly comprises a matching driving motor (6), a wheel disc (7), a first arc protrusion (8), a swing arm (9), a second arc protrusion (10), a connecting spring (11), a force-applying ball (12), a collecting box (13), a matching top cover (14), a force-guiding column (15), a feeding port (16) and a discharging inclined port (17); a matching driving motor (6) is fixed to one side of the L-shaped support arm (5); the output end of the matching driving motor (6) passes through the L-shaped support arm (5) and is fixed with a wheel disc (7); the outer side of the wheel disc (7) is fixed with a first arc protrusion (8); one side of the L-shaped support arm (5) and a position below the wheel disc (7) is rotatably connected with a swing arm (9); the top of the swing arm (9) is fixed with a second arc protrusion (10); The second arc protrusion (10) is slidably connected to the wheel disc (7) and the first arc protrusion (8); a force-applying ball (12) is fixed to one end of the swing arm (9); a connecting spring (11) is fixed to one end of the L-shaped support arm (5); one end of the connecting spring (11) is fixed to the swing arm (9); a material collection box (13) is fixed to the bottom of the L-shaped support arm (5); a matching top cover (14) is fixed to the top of the material collection box (13); a force guide column (15) is slidably connected to the top of the matching top cover (14); a feed port (16) is provided at the top of the matching top cover (14) and at a position corresponding to the inclined groove (201); a material discharge inclined opening (17) is provided on the outer side of the material collection box (13); and the bottom of the inner side of the material discharge inclined opening (17) is inclined.

8. The device for detecting and sorting silkworm cocoon species based on image processing according to claim 7, characterized in that: The transmission assembly comprises a material-dispensing blade rack (18), an inner connecting tube (19), a vertical groove (20), a folding continuous groove (21), a guide column (22) and a transmission cylinder (23); the bottom of the inner side of the collecting box (13) is rotatably connected with the material-dispensing blade rack (18); a plurality of blades are evenly distributed and fixed on the outer side of the material-dispensing blade rack (18); an inner connecting tube (19) is fixed on the inner side of the material-dispensing blade rack (18); a plurality of vertical grooves (20) are provided on the inner side of the inner connecting tube (19); the bottom of the plurality of vertical grooves (20) are A folding continuous groove (21) is provided, the inner side of the inner connecting tube (19) is slidably connected with a guide column (22), the bottom of the guide column (22) is rotatably connected with a return spring, one end of the return spring is fixed to the collecting box (13), the guide column (22) is fixed to the force guiding column (15), and a plurality of transmission cylinders (23) corresponding to the position of the vertical groove (20) are evenly fixed on the outer side of the guide column (22), and the transmission cylinders (23) are slidably connected with the vertical groove (20) and the folding continuous groove (21).

9. The device for detecting and sorting silkworm cocoon species based on image processing according to claim 1, characterized in that: A mounting side plate (24) is fixed to one end of the device frame, a manipulator (25) is fixed to one end of the mounting side plate (24), and the manipulator (25) is electrically connected to the controller.