A potato grading device and shape detection method based on machine vision

Through a potato grading device based on machine vision, Kinect camera and image processing algorithm are used for shape and quality detection, which solves the problem of low potato screening efficiency in the existing technology, realizes efficient and accurate automated grading, and extends to other fruits and vegetables. Sorting.

CN115365162BActive Publication Date: 2024-09-17SHUIFU LI SHI FOOD CO LTD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211004584.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-22
Publication Date
2024-09-17
Estimated Expiration
2042-08-22

AI Technical Summary

Technical Problem

The existing technology is inefficient in the potato screening process, relies on manual labor or traditional machinery, lacks intelligence and automation, and is difficult to achieve efficient and accurate shape and quality grading.

Method used

A potato grading device based on machine vision is used to collect top-view images of potatoes through a Kinect camera, and is combined with image processing algorithms (such as watershed algorithm and LOG operator) for shape detection and quality estimation to build a three-dimensional model to achieve automated grading.

Benefits of technology

It improves the accuracy and efficiency of potato shape and quality screening, reduces damage to potatoes, and can be used for sorting other fruits and vegetables, achieving intelligent and automated grading.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0003808541700000121
    Figure BDA0003808541700000121
  • Figure BDA0003808541700000122
    Figure BDA0003808541700000122
  • Figure BDA0003808541700000125
    Figure BDA0003808541700000125
Patent Text Reader

Abstract

The present invention discloses a potato grading device based on machine vision. The device includes a feeding mechanism, a shape and quality detection mechanism, and a distribution mechanism; the shape detection mechanism is arranged up and down by a conveying roller and a secondary conveyor belt, and two layers of partitions are arranged above the roller to transport potatoes in three vertical columns; the first Kinect camera and the second Kinect camera are installed on the roller positioning mounting plate; a flip claw is installed between the cameras to adjust the shape of the potatoes below; the distribution mechanism is composed of a discharge conveyor belt and a distributor, and long baffles are arranged on the opposite sides of the discharge conveyor belt; a discharge trough is opened on the baffle of the discharge conveyor belt; and a distributor powered by a cylinder is installed on the baffle of the discharge conveyor belt. The device can realize the shape detection and quality estimation of a large number of potatoes, and combined with images, the screening accuracy is high and the efficiency is high. At the same time, the impurities that fall off can be recovered, and the damage to the potatoes is small.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of agricultural machinery, in particular to a potato grading device and a shape detection method based on machine vision. Background Art

[0002] Potato is one of the main food crops in my country, and it has been planted for hundreds of years. Compared with other food crops, it has the advantages of high yield, short growth cycle, and rich nutritional value. Since the 21st century, my country has gradually established potato cultivation demonstration and cultivation bases in different regions, which not only achieved very good economic benefits, but also promoted the sustainable development of the agricultural economy, and played an extremely important role in adjusting the rural industrial structure and ensuring increased production. Based on this, research on potato-related industries also plays a particularly important role in the future development of China's agriculture.

[0003] The first step in the potato processing industry is to screen out potatoes that meet certain standards, such as setting a certain shape requirement, setting a certain quality range, etc. At present, the methods used to screen potatoes are mostly manual methods or traditional roller-type drum machines. It is urgent to put a high-efficiency, high-intelligence, and high-automation screening method on the market. Machine vision uses acquisition devices and computers to simulate biological vision. Its main task is to obtain image information of the corresponding scene by processing the collected pictures or videos, just like the human eye can obtain visual information and transmit it to the brain. The brain acts as a control center to process and process information, and uses machine vision methods to do this. Summary of the invention

[0004] One object of the present invention is to provide a potato grading device based on machine vision, which has the advantages of high automation and simple structure; another object of the present invention is to provide a potato shape and quality detection method based on machine vision. The method combines machine vision technology, can grade potatoes based on shape or quality as a standard, and has the advantage of high grading efficiency.

[0005] To achieve the above-mentioned purpose, the potato grading device based on machine vision described in the present invention comprises a feeding mechanism, a shape quality detection mechanism, and a distribution mechanism, wherein the feeding mechanism, the shape quality detection mechanism, and the distribution mechanism are connected in sequence;

[0006] The feeding mechanism is mainly composed of a feeding conveyor belt;

[0007] The shape quality detection mechanism is mainly composed of a conveying roller and a secondary conveying belt, the conveying roller and the secondary conveying belt are arranged up and down, and the conveying roller is arranged above the secondary conveying belt;

[0008] The conveying roller is composed of a plurality of rollers installed between a first roller positioning mounting plate and a second roller positioning mounting plate, and the rollers are connected to the conveying roller motor through a belt;

[0009] The first roller positioning mounting plate is provided with a first Kinect camera and a second Kinect camera; the shape quality detection mechanism is provided with a first Kinect camera and a second Kinect camera in sequence along the direction from the potato feeding conveyor belt to the primary unloading conveyor belt and the secondary unloading conveyor belt, and a flip claw mechanism is provided between the first Kinect camera and the second Kinect camera;

[0010] The flip claw mechanism is provided with a flip claw, which is composed of three rows of closely arranged claw-shaped structures axially, and the angle between each row of claws is 120°;

[0011] The distribution mechanism is composed of a conveying module and a discharge module, and the conveying module is provided with a discharge module; the conveying module is connected by a primary discharge conveyor belt and a secondary discharge conveyor belt; the discharge module is composed of a cylinder and a discharge trough; the discharge trough includes a first discharge trough mechanism and a second discharge trough mechanism;

[0012] The first unloading conveyor belt baffles are arranged on both sides of the first unloading conveyor belt, and the first unloading conveyor belt baffles are provided with a first unloading chute mechanism. The first unloading chute mechanism is provided with a cylinder module corresponding to the cylinder module, which includes a cylinder and a rod connected to the cylinder. A distributor is arranged at the end of the rod. The cylinder module contracts to drive the distributor to move toward the first unloading chute mechanism.

[0013] The second unloading conveyor belt is provided with a second unloading conveyor belt baffle on both sides of the opposite sides, and a second unloading chute mechanism is provided on the second unloading conveyor belt baffle. A cylinder module is provided corresponding to the second unloading chute mechanism. The cylinder module includes a cylinder and a rod connected to the cylinder. A distributor is provided at the end of the rod. The cylinder module contracts to drive the distributor to move toward the second unloading chute mechanism.

[0014] The loading conveyor belt is connected to the conveying roller, the conveying roller is connected to the first-level unloading conveyor belt, and the first-level unloading conveyor belt is connected to the second-level unloading conveyor belt.

[0015] Baffle mechanisms are installed on both sides of the long sides of the feeding conveyor belt, and the feeding conveyor belt is connected to the feeding trough.

[0016] The shape quality detection mechanism is an image detection component, and the shape quality detection mechanism also includes an industrial camera height adjustment bracket; the industrial camera height adjustment bracket includes a first Kinect camera bracket and a second Kinect camera bracket;

[0017] A first Kinect camera bracket and a first Kinect camera bracket base are sequentially connected between the first Kinect camera and the first roller positioning mounting plate, the first Kinect camera bracket is a telescopic rod structure, and the first Kinect camera bracket base is fixedly connected to the first roller positioning mounting plate;

[0018] A second Kinect camera bracket and a second Kinect camera bracket base are sequentially connected between the second Kinect camera and the first roller positioning mounting plate. The second Kinect camera bracket is a telescopic rod structure, and the second Kinect camera bracket base is fixedly connected to the first roller positioning mounting plate.

[0019] The potato grading device based on machine vision also includes an integral bracket, which includes a feeding mechanism bracket, a shape quality detection mechanism bracket, a primary unloading conveyor belt bracket, and a secondary unloading conveyor belt bracket; a feeding mechanism bracket is arranged at the bottom of the feeding mechanism, a shape quality detection mechanism bracket is arranged at the bottom of the shape quality detection mechanism, and a primary unloading conveyor belt bracket and a secondary unloading conveyor belt bracket are arranged at the bottom of the distribution mechanism.

[0020] The roller is installed between the first roller positioning installation plate and the second roller positioning installation plate through a bearing, and positioning hinges are installed between the shape quality detection mechanism bracket and the first roller positioning installation plate and the second roller positioning installation plate.

[0021] The turning claw is installed between the first roller positioning mounting plate and the second roller positioning mounting plate;

[0022] One end of the turning claw is mounted on the first roller positioning mounting plate through the first turning claw bracket.

[0023] The other end of the turning claw is mounted on the second roller positioning mounting plate through a second turning claw bracket.

[0024] The distribution mechanisms are equipped with infrared generators and corresponding receivers for detecting potatoes passing through the guide trough.

[0025] The shape quality detection mechanism is divided into three paths by setting a partition 1, and the primary unloading conveyor belt is divided into three paths by setting a partition 2.

[0026] A plurality of first unloading chute mechanisms are arranged on both sides of the primary unloading conveyor belt, and a plurality of second unloading chute mechanisms are arranged on both sides of the secondary unloading conveyor belt.

[0027] The present invention provides a method for detecting potato shape and quality based on machine vision, and the implementation steps are as follows:

[0028] ① The first Kinect camera collects the top view image of the three rows of potatoes in this state;

[0029] ② The control end receives the top-view image of the potato collected by the first Kinect camera and processes the information;

[0030] ③ The control end performs preprocessing operations on the original potato image and runs the watershed algorithm to mark different potatoes;

[0031] Execute the LOG operator to detect the edge of the potato and determine whether there is any missing part of the potato edge. If there is a missing part, perform the image repair operation. Finally, combine the potato rectangularity parameter, the minimum circumscribed rectangle aspect ratio and the circularity parameter to perform shape detection.

[0032] Based on the collected two-dimensional image and depth image of the potato, a point cloud image is generated, and after image segmentation and filtering, a point cloud set of the upper part of the potato is obtained; the point cloud set of the upper part of the potato is divided into a surface triangular mesh, and a tetrahedral model of the upper part of the potato is formed by combining the internal center point, and the mass of half of the potato is obtained by multiplying it by the density of the potato according to the volume calculation method of the three-dimensional geometric body in the space;

[0033] ④ The turning claw turns the potatoes on the rollers so that the potatoes change their upward posture;

[0034] ⑤ After the potatoes are adjusted to face upwards by the flipping mechanism, the second Kinect camera collects top-view images of the three rows of potatoes below, and collects the same batch of potato images from different perspectives;

[0035] ⑥ The control end receives the top view image of the potato in the changed state captured by the second Kinect camera and processes the information; similar to the third step, shape detection and quality estimation are performed;

[0036] ⑦ Analyze the image processing results of the first Kinect camera and the second Kinect camera to determine the final shape and quality of the potato;

[0037] ⑧The control end sends the execution command to the distribution agency for execution.

[0038] The divider is a square paddle.

[0039] The potato target photographed by the first Kinect camera is a top-down image before flipping, and the second Kinect camera photographs the image of the potato after flipping. The first Kinect camera and the second Kinect camera are fixed, the target is flipped, and different sides of the same batch of potatoes are photographed from different perspectives.

[0040] In the step ③, shape detection of batch potatoes is performed, and missing images are repaired to improve the accuracy of judgment; a quality detection method based on machine vision is used to construct a three-dimensional model using potato depth images, key feature points of the three-dimensional model are detected, and triangular meshes are divided with key feature points as nodes, thereby obtaining a tetrahedral pyramid model structure and quickly calculating the volume.

[0041] The potato grading device and shape detection method based on machine vision described in the present invention have the beneficial effects that: the method can realize intelligent shape quality screening of potatoes, and can improve the accuracy by combining two different viewing angle images of the same batch of potatoes in different positions; at the same time, it can recover impurities that are easier to fall off; and the damage to potatoes is small; in addition, the method can also be used for sorting different fruits and vegetables such as apples, tomatoes, and onions. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a three-dimensional schematic diagram of a potato grading device;

[0043] Figure 2 is a top view of a potato grading device;

[0044] Figure 3 is a front view of a potato grading device;

[0045] Figure 4 is a right side view of a potato grading device;

[0046] Figure 5 It is a partial enlarged picture of the camera detection part;

[0047] Figure 6 It is a partial enlarged view of the flip device;

[0048] Figure 7 This is a partial enlarged view of the distributor;

[0049] Figure 8 is a cross-sectional view of the detection part;

[0050] Fig. 9 It is an isometric view of the flip claw;

[0051] Figure 10.1-10.17 It is the detection image and analysis;

[0052] In the figure: 1-feeding chute, 2-feeding conveyor belt, 3-first lower slide guide, 4-first Kinect camera, 5-flip claw mechanism, 6-second Kinect camera, 7-partition 1, 8-second lower slide guide, 9-partition 2, 10-first unloading conveyor belt baffle, 11-first unloading conveyor belt, 12-secondary unloading conveyor belt, 13-feeding mechanism bracket, 14-shape quality detection mechanism bracket, 15-control panel, 16-control box, 17-secondary conveyor belt, 18-recovery bucket, 19-first unloading chute mechanism, 20-first unloading conveyor Belt feeding bracket, 21-secondary unloading conveyor belt bracket, 22-a-first roller positioning mounting plate, 22-b-second roller positioning mounting plate, 23-first Kinect camera bracket base, 24-first Kinect camera bracket, 26-a-first flip claw bracket, 26-b-second flip claw bracket, 27-flip claw, 28-flip mechanism positioning piece, 29-positioning hinge, 30-second unloading conveyor belt baffle, 31-distributor, 32-connecting rod, 33-cylinder, 34-second unloading chute mechanism, 35-transmission roller, 35-1-roller. DETAILED DESCRIPTION

[0053] Example 1

[0054] The potato grading device based on machine vision described in the present invention is as follows: Figure 1-9 As shown; including a feeding mechanism, a shape quality detection mechanism, and a distribution mechanism, characterized in that: the feeding mechanism, the shape quality detection mechanism, and the distribution mechanism are connected in sequence;

[0055] The feeding mechanism is mainly composed of a feeding conveyor belt 2;

[0056] The shape quality detection mechanism is mainly composed of a conveying roller 35 and a secondary conveying belt 17. The conveying roller 35 and the secondary conveying belt 17 are arranged up and down, and the conveying roller 35 is arranged above the secondary conveying belt 17.

[0057] The conveying roller 35 is composed of a plurality of rollers 35-1 installed between the first roller positioning mounting plate 22-a and the second roller positioning mounting plate 22-b, and the rollers 35-1 are connected to the conveying roller motor through a belt;

[0058] The first roller positioning mounting plate 22-a is provided with a first Kinect camera 4 and a second Kinect camera 6; the shape quality detection mechanism is provided with a first Kinect camera 4 and a second Kinect camera 6 in sequence along the direction of the potato feeding conveyor belt 2 to the primary unloading conveyor belt 11 and the secondary unloading conveyor belt 12, and a flip claw mechanism 5 is installed between the first Kinect camera 4 and the second Kinect camera 6;

[0059] The flip claw mechanism 5 is provided with a flip claw 27, which is composed of three rows of closely arranged claw-shaped structures axially, and the angle between each row of claws is 120°;

[0060] The distribution mechanism is composed of a conveying module and a discharge module, and the conveying module is provided with a discharge module; the conveying module is connected by a primary discharge conveyor belt 11 and a secondary discharge conveyor belt 12; the discharge module is composed of a cylinder 33 and a discharge chute; the discharge chute includes a first discharge chute mechanism 19 and a second discharge chute mechanism 34;

[0061] The first unloading conveyor belt baffles 10 are arranged on both sides of the first unloading conveyor belt 11, and the first unloading conveyor belt baffles 10 are provided with a first unloading chute mechanism 19. The first unloading chute mechanism 19 is provided with a cylinder module corresponding to the first unloading chute mechanism 19. The cylinder module includes a cylinder and a rod connected to the cylinder. A distributor is arranged at the end of the rod. The cylinder module contracts to drive the distributor to move toward the first unloading chute mechanism 19.

[0062] The second unloading conveyor belt baffles 30 are arranged on the opposite sides of the secondary unloading conveyor belt 12, and the second unloading conveyor belt baffles 30 are provided with a second unloading chute mechanism 34. The second unloading chute mechanism 34 is provided with a cylinder module corresponding to the cylinder module, which includes a cylinder and a rod connected to the cylinder. A distributor is arranged at the end of the rod. The cylinder module contracts to drive the distributor to move toward the second unloading chute mechanism 34.

[0063] The loading conveyor belt 2 is connected to the conveying roller 35 , the conveying roller 35 is connected to the primary unloading conveyor belt 11 , and the primary unloading conveyor belt 11 is connected to the secondary unloading conveyor belt 12 .

[0064] Baffle mechanisms are installed on both sides of the long sides of the feeding conveyor belt 2, and the feeding conveyor belt 2 is connected to the feeding trough 1.

[0065] The shape quality detection mechanism is an image detection component, and the shape quality detection mechanism also includes an industrial camera height adjustment bracket; the industrial camera height adjustment bracket includes a first Kinect camera bracket 24 and a second Kinect camera bracket;

[0066] A first Kinect camera bracket 24 and a first Kinect camera bracket base 23 are sequentially connected between the first Kinect camera 4 and the first roller positioning mounting plate 22-a. The first Kinect camera bracket 24 is a telescopic rod structure. The first Kinect camera bracket base 23 is fixedly connected to the first roller positioning mounting plate 22-a.

[0067] A second Kinect camera bracket and a second Kinect camera bracket base are connected in sequence between the second Kinect camera 6 and the first roller positioning mounting plate 22-a. The second Kinect camera bracket is a telescopic rod structure, and the second Kinect camera bracket base is fixedly connected to the first roller positioning mounting plate 22-a.

[0068] The potato grading device based on machine vision also includes an integral bracket, which includes a feeding mechanism bracket 13, a shape quality detection mechanism bracket 14, a primary unloading conveyor belt bracket 20, and a secondary unloading conveyor belt bracket 21; the feeding mechanism bracket 13 is arranged at the bottom of the feeding mechanism, the shape quality detection mechanism bracket 14 is arranged at the bottom of the shape quality detection mechanism, and the primary unloading conveyor belt bracket 20 and the secondary unloading conveyor belt bracket 21 are arranged at the bottom of the distribution mechanism.

[0069] The roller 35 is installed between the first roller positioning mounting plate 22-a and the second roller positioning mounting plate 22-b through a bearing, and positioning hinges 29 are installed between the shape quality detection mechanism bracket 14 and the first roller positioning mounting plate 22-a and the second roller positioning mounting plate 22-b.

[0070] The flip claw 27 is installed between the first roller positioning mounting plate 22-a and the second roller positioning mounting plate 22-b;

[0071] One end of the turning claw 27 is mounted on the first roller positioning mounting plate 22-a through the first turning claw bracket 26-a.

[0072] The other end of the turning claw 27 is mounted on the second roller positioning mounting plate 22 - b through the second turning claw bracket 26 - b.

[0073] The distribution mechanisms are equipped with infrared generators and corresponding receivers for detecting potatoes passing through the guide trough.

[0074] The shape quality detection mechanism is divided into three paths by providing a partition 17 , and the primary unloading conveyor belt 11 is divided into three paths by providing a partition 29 .

[0075] A plurality of first discharge chute mechanisms 19 are disposed on both sides of the primary discharge conveyor belt 11 , and a plurality of second discharge chute mechanisms 34 are disposed on both sides of the secondary discharge conveyor belt 12 .

[0076] The present invention provides a method for detecting potato shape and quality based on machine vision, and the implementation steps are as follows:

[0077] ① The first Kinect camera 4 captures the top view image of the three rows of potatoes in this state;

[0078] ② The control end receives the top view image of the potato collected by the first Kinect camera 4 and processes the information;

[0079] ③ The control end performs preprocessing operations on the original potato image and runs the watershed algorithm to mark different potatoes;

[0080] Execute the LOG operator to detect the edge of the potato and determine whether there is any missing part of the potato edge. If there is a missing part, perform the image repair operation. Finally, combine the potato rectangularity parameter, the minimum circumscribed rectangle aspect ratio and the circularity parameter to perform shape detection.

[0081] Based on the collected two-dimensional image and depth image of the potato, a point cloud image is generated, and after image segmentation and filtering, a point cloud set of the upper part of the potato is obtained; the point cloud set of the upper part of the potato is divided into a surface triangular mesh, and a tetrahedral model of the upper part of the potato is formed by combining the internal center point, and the mass of half of the potato is obtained by multiplying it by the density of the potato according to the volume calculation method of the three-dimensional geometric body in the space;

[0082] ④ The turning claw 27 turns the potatoes on the roller so that the potatoes change their upward posture;

[0083] ⑤ After the potatoes are adjusted to an upward position by the flip mechanism 5, the second Kinect camera 6 collects top-view images of the three rows of potatoes below, and collects the same batch of potato images from different perspectives;

[0084] ⑥ The control end receives the top view image of the potato in the changed state captured by the second Kinect camera 6 and processes the information; similar to the third step, shape detection and quality estimation are performed;

[0085] ⑦ Analyze the image processing results of the first Kinect camera 4 and the second Kinect camera 6 to determine the final shape and quality of the potato;

[0086] ⑧The control end sends the execution command to the distribution agency for execution.

[0087] The first Kinect camera 4 captures a top view of the potato target before flipping, and the second Kinect camera 6 captures an image of the potato after flipping. The first Kinect camera 4 and the second Kinect camera 6 are fixed, and the target is flipped to capture different sides of the same batch of potatoes from different perspectives.

[0088] In the step ③, shape detection of batch potatoes is performed, and missing images are repaired to improve the accuracy of judgment; a quality detection method based on machine vision is used to construct a three-dimensional model using potato depth images, key feature points of the three-dimensional model are detected, and triangular meshes are divided with key feature points as nodes, thereby obtaining a tetrahedral pyramid model structure and quickly calculating the volume.

[0089] Example 2

[0090] like Figure 1 As shown, the potato grading device based on machine vision of the present invention comprises a feeding mechanism, a shape quality detection mechanism, and a distribution mechanism, wherein the feeding mechanism, the shape quality detection mechanism, and the distribution mechanism are connected in sequence;

[0091] The feeding mechanism is mainly composed of a feeding conveyor belt 2; a feeding trough 1 is arranged above the feeding conveyor belt 2, and the feeding trough 1 is installed on the whole machine bracket. The feeding trough 1 is provided with a square hole to facilitate the potatoes to fall onto the feeding conveyor belt 2, and the feeding conveyor belt 2 transports the potatoes into the shape detection mechanism. A first sliding guide 3 is installed at the outlet of the feeding conveyor belt 2 to make the potatoes fall on the conveying roller 35. The feeding conveyor belt 2 is a low-speed conveyor belt, and the feeding conveyor belt 2 is driven by a low-speed motor. A control box 16 is arranged in the whole machine bracket, and a controller is installed in the control box 16. A control panel 15 is installed on the shape and quality detection mechanism, and the control panel 15 is connected to the low-speed motor. The control panel 15 can adjust the speed of the low-speed motor, and the control panel 15 is electrically connected to the control box 16.

[0092] like Figure 1 , Figure 5 , Figure 6 As shown, potatoes enter the detection mechanism in sequence, and the conveying roller 35 is composed of a plurality of rollers 35-1 and a first roller positioning mounting plate 22-a and a second roller positioning mounting plate 22-b. The roller 35-1 is fixed between the first roller positioning mounting plate 22-a and the second roller positioning mounting plate 22-b through a bearing, and a positioning hinge 29 is installed between the first roller positioning mounting plate 22-a, the second roller positioning mounting plate 22-b and the shape quality detection mechanism bracket 14. The conveying roller 35 is driven by a belt, and the belt is driven by a conveying roller motor, and the motor is controlled by a control panel 15;

[0093] The detection mechanism can be used as a shape detection component or a quality detection component. The detection mechanism also includes an industrial camera height adjustment bracket; the industrial camera height adjustment bracket includes a first Kinect camera bracket 24 and a second Kinect camera bracket;

[0094] A first Kinect camera bracket 24 and a first Kinect camera bracket base 23 are sequentially connected between the first Kinect camera 4 and the first roller positioning mounting plate 22-a. The first Kinect camera bracket 24 is a telescopic rod structure. The first Kinect camera bracket base 23 is fixedly connected to the first roller positioning mounting plate 22-a. A flip claw 27 is installed between the first Kinect camera 4 and the second Kinect camera 6.

[0095] A second Kinect camera bracket and a second Kinect camera bracket base are sequentially connected between the second Kinect camera 6 and the first roller positioning mounting plate 22-a. The second Kinect camera bracket is a telescopic rod structure, and the second Kinect camera bracket base is fixedly connected to the first roller positioning mounting plate 22-a.

[0096] The potatoes fall on the conveying roller 35, and first pass through the first Kinect camera 4, which collects multiple frames of images per second in real time. The first Kinect camera 4 transmits multiple frames of data to the control box 16, which is processed by the processing unit according to the programmed program, outputs the results, and hands them over to the distribution mechanism for execution; the potatoes pass through the flipping mechanism 5; the flipping mechanism 5 is composed of 3 rows of closely arranged claw-shaped structures, and the angle between each row of claws is 120°. The rotation speed of the flipping mechanism 5 is set to match the rotation speed of the roller 35, and the potatoes passing through the flipping mechanism 5 will The turning mechanism 5 is installed between the first roller positioning mounting plate 22-a and the second roller positioning mounting plate 22-b, and a turning mechanism positioning member 28 is installed between the first roller positioning mounting plate 22-a, the second roller positioning mounting plate 22-b and the turning mechanism 5; the distance between the first turning claw bracket 26-a and the first roller positioning mounting plate 22-a is adjustable, and the distance between the second turning claw bracket 26-b and the second roller positioning mounting plate 22-b is adjustable, so that the installation height of the turning mechanism 5 can be adjusted to ensure that an effective turning force is applied to the three rows of potatoes passing by;

[0097] Finally, the potato passes through the second Kinect camera 6 again, and this time the image is another angle of view of the potato. The image is transmitted to the control box 16, and the result is output; the two results are compared, and the final potato shape is determined based on the data set.

[0098] like Figure 1 , Figure 3 , Figure 8 As shown, a secondary conveyor belt 17 is installed below the conveying channel of the conveying roller 35, and the secondary conveyor belt 17 is connected to the shape quality detection mechanism bracket 14. The secondary conveyor belt 17 transports the soil and other impurities dropped from the conveying roller 35 into the recovery bin 18;

[0099] like Figure 1 , Figure 5 As shown, the first Kinect camera bracket 24 and the first Kinect camera bracket base 23 are sequentially connected between the first Kinect camera 4 and the first roller positioning mounting plate 22-a. The first Kinect camera bracket 24 is a telescopic rod structure, and the first Kinect camera bracket base 23 is fixedly connected to the first roller positioning mounting plate 22-a;

[0100] like Figure 1 , Figure 7 As shown, the distribution mechanism is mainly composed of two conveyor belts. The first conveyor belt can discharge the two outermost rows of potatoes, and the innermost potatoes are handled by the second conveyor belt. The first discharge conveyor belt baffles 10 are arranged on the opposite sides of the first discharge conveyor belt 11; the first discharge conveyor belt baffle 10 is provided with a first discharge chute mechanism 19, and the first discharge conveyor belt baffle 10 is installed with a distributor 31, the power of the distributor 31 is driven by a cylinder 33, and the first discharge chute mechanism 19 is matched with the distributor 31; the structure of the second discharge conveyor belt 12 is similar to this;

[0101] The distributor 31 is connected to the cylinder 33 through the connecting rod 32, and the cylinder is fixed on the baffles 10 and 30 of the unloading mechanism. The distributor 31 is set on the baffles 10 and 30 on the opposite sides of the primary unloading conveyor belt 11. The distributor 31 is connected to the cylinder mechanism, and the cylinder mechanism is connected to the control box 16, and the cylinder mechanism drives the distributor 31 to move. When the infrared detection device detects potatoes passing through each unloading trough, it transmits a signal to the control box 16, and the control box 16 processes it, and outputs an execution command to a specific distributor in combination with the detection result, so that the distributor 31 performs a fast linear reciprocating motion, and guides potatoes that meet the shape or quality into the corresponding unloading trough to complete the potato shape or quality classification.

[0102] The present invention discloses a potato shape detection method based on machine vision, and the specific implementation steps are as follows:

[0103] (1) The first Kinect camera 4 captures a top view image of one side of the potato; the first Kinect camera 4 and the second Kinect camera 6 are equipped with a light source generator to capture color images of the potato in different states in the conveying channel of the conveying roller 35;

[0104] (2) The control end first receives the top view image of the potato captured by the first Kinect camera 4 and processes the information;

[0105] ① Use the weighted average method to grayscale the color image. According to the importance of the elements and other indicators, the three components of R / G / B are weighted averaged with different weights. In summary, the weighted average of the three components of RGB can obtain a more reasonable grayscale image according to the following formula: Figure 10.1 As shown, the corresponding grayscale histogram is obtained to facilitate filtering;

[0106] Gray(i,j)=0.229*R(i,j)+0.578G(i,j)+0.114*B(i,j) (1.1)

[0107] Among them, Gray(i, j) represents the gray value of the coordinate point (i, j);

[0108] R(i, j) represents the R brightness of point (i, j);

[0109] G(i, j) represents the G brightness at point (i, j);

[0110] B(i, j) represents the brightness of B at point (i, j);

[0111] ② Using the median filter, not only can the most common salt and pepper noise be removed, but also the complex Gaussian noise and multiplication noise can be filtered out well, as shown below Figure 10.2 As shown;

[0112] ③ Use the iterative method to perform threshold segmentation of potato images, segmenting the areas containing potatoes and areas not containing potatoes, and the areas cannot be connected;

[0113] First, calculate the average grayscale T of the image 0 ; Taking the average grayscale as the boundary, the image can be divided into two parts; calculate the average grayscale of the two parts separately, and there will be a value greater than T 0 T A and less than T 0 T B ; Then find T A and T B The average value is set to T 1 , let T 1 Instead of T 0 , and repeat the above process for k iterations until T k convergence;

[0114] When writing the code experiment, we can first divide the potato image into foreground and background according to an original iterative function f(x). After reading the image data for the first time, we use the average of the thresholds of the two scenes as the new threshold, and use this threshold to control the function f(x) to divide the potato image into foreground and background again, and use it as the new iterative function f′(x). We keep iterating until no new iterative function is generated. At this time, the segmented image foreground and background are the final result. Figure 10.3 As shown;

[0115] ④ Usually due to the presence of noise in the image, the edges of the potato image after threshold segmentation are not smooth, and there are some noise holes in the internal area, and there are also some messy noise points in the background area; so multiple operations combining expansion and corrosion can be performed to achieve the ideal image processing effect; using corrosion first and then expansion can filter out small noise, segment the potato at the boundary, and smooth the potato edge without significantly changing the potato area; using expansion first and then corrosion can fill in the small holes in the potato, smooth the edges and repair the pixels, but it will not change the area. The effect is as follows Figure 10.4 As shown, it can be seen that the effect of using expansion followed by corrosion operation is better;

[0116] ⑤ After the potato image has been subjected to the above operations to highlight the location of the target object, the edge of the potato must be extracted by comparing different operators, because the accurate identification of the potato edge position information can provide a basis for the subsequent potato shape detection and judgment; the LOG operator, which is a combination of the Laplacian operator Laplacian and the Gaussian operator Gauss, is used for potato edge detection. The LOG operator has a smoothing filter method that can better filter out noise, thereby achieving better detection results; and the Laplacian operator, as a second-order derivative, is mainly used to locate the position of the image point in the segmented image, whether it is on the target object or on the background; the edge line position is searched using the characteristics, and its convolution core is a 4×4 matrix:

[0117]

[0118] The Laplacian operator formula of function f(x, y) is:

[0119]

[0120] The calculation formula of the LOG operator of the output function h(x, y) is:

[0121]

[0122] Right now,

[0123]

[0124] in,

[0125]

[0126] The detection results of the detection operator are as follows Figure 10.5 As shown;

[0127] ⑥Because potatoes vary in size, when the camera is directly above the potato target and collects multiple potato images on the roller, the following situations may occur, such as Figure 10.6 As shown in the figure: the edges of individual potatoes are blocked or the edges of potatoes are damaged such as sprouts. At this time, the camera cannot accurately and comprehensively capture all the edges of the potatoes, and the edges are easily missing at the sprouting positions during subsequent edge detection. At this time, before detecting the shape of the potatoes, it is necessary to predict and fill in the edges of partially blocked potatoes so that the shapes of batches of potatoes can be accurately detected later;

[0128] Firstly, the watershed algorithm is applied to the segmentation of a single target image of multiple potatoes. Combined with the pixel changes on the image, the change interval is found to segment the area. Generally speaking, the pixel values ​​of the target and the adjacent area of ​​the target on the image are quite different, and there is a high probability of gradient changes and mutations. By using this principle, the edge position of the target can be searched.

[0129] The specific implementation process of using the watershed algorithm to segment independent regions of batch potato images:

[0130] 1) Preprocessing the target image such as grayscale, binarization, filtering, corrosion or expansion, edge detection, etc.;

[0131] 2) Obtain the image gradient map, find the contour and mark it, and draw it on the input target image of the watershed in the order of marking, which is equivalent to marking the water injection point;

[0132] 3) Perform Watershed operation;

[0133] 4) Draw the area to be separated. You can use different colors to mark each independent target to distinguish different targets;

[0134] 5) Separation of independent target areas; the results are as follows Figure 10.7 As shown;

[0135] The method of synthesizing missing edge textures based on known areas is adopted. The process is to first calculate the curvature of the endpoint of the potato edge closest to the missing part of the image. Note that it is the curvature of the arc endpoint, because the curvature of each point on a certain arc is different, and it can only be said to be the curvature at a certain point on this arc; after calculating the curvature of the two end points of the missing part, the average curvature is obtained, and an arc is made according to the average curvature, endpoint 1, and endpoint 2, which will get the missing edge line; finally, the pixels in the known area are sampled, and transplanted to the missing part with the edge line as the boundary. The results are as follows Figure 10.8 As shown;

[0136] ⑦ Calculate and display the rectangularity, minimum circumscribed rectangle aspect ratio and circularity parameters of the potato target at the same time, and judge the shape; the method of drawing the minimum circumscribed rectangle of the potato is as follows: first, establish a two-dimensional rectangular coordinate system with the potato centroid as the origin, and then rotate the boundary of the object within a range of 90° at a certain angle increment each time (for example, 4° as a fixed increment), and record the maximum and minimum values ​​of the circumscribed rectangle boundary points in the coordinate system direction once each rotation; after rotating to a certain angle, the area (or perimeter) of the circumscribed rectangle reaches the minimum; take the parameters of the circumscribed rectangle with the smallest area among all rectangles as the length and width in the sense of the main axis; calculate the value of the rectangle fitting factor with the ratio of width to length, and the smaller the potato, the smaller the value;

[0137] For round potatoes, the rectangularity parameter is maintained near 0.8, and the aspect ratio of the smallest circumscribed rectangle is close to 1, and the circularity parameter is generally above 0.9. The rectangularity parameter of oval potatoes is lower than 0.8, and the aspect ratio of the circumscribed rectangle is lower than 1, but the values ​​of both are not very low, and the circularity parameter is also lower than and far from 0.9. You can set a lower limit to filter out oval potatoes;

[0138] The computer displays the parameter results as Figure 10.9 As shown, the potato shape is comprehensively judged by combining the data set;

[0139] (3) The potatoes on the conveyor roller pass through a flipping mechanism to change the upward side, and the second Kinect camera also collects images and performs the above processing;

[0140] (4) After two-step image processing of three rows of potatoes arranged in a fixed order, the relevant characteristic parameters of the same batch of potatoes under different viewing angles can be obtained. The relevant parameters of the two viewing angles are analyzed to comprehensively judge the shape;

[0141] (5) The three rows of potatoes enter the distribution mechanism in a fixed order. The infrared detection device detects the potatoes passing through each guide trough in sequence, and the control box controls the distributor to execute the command;

[0142] The present invention discloses a potato quality detection and estimation method based on machine vision, and the specific implementation steps are as follows:

[0143] (1) The first Kinect camera collects a depth image of one side of the potato; the first Kinect camera and the second Kinect camera have their own light source generators to collect depth images of the potato in the conveying roller conveyor channel in different postures, such as Figure 10.10 As shown;

[0144] (2) The image is transmitted to the control end for the following processing:

[0145] ① Convert the depth image into a 3D point cloud image; the principle is to use the camera parameter matrix and coordinate system changes to calculate the distance depth of each pixel in the image and map the image to a point; the conversion from the world coordinate system to the pixel coordinate system is expressed by the following formula:

[0146]

[0147] Among them, z c is the scale factor, also known as the effective focal length;

[0148] u and v are the horizontal and vertical coordinates of the corresponding points in the pixel coordinate system respectively;

[0149] u 0 , v 0 It is called the image center;

[0150] f x , f y They are called the normalized focal lengths on the x and y axes respectively;

[0151] R is the rotation matrix;

[0152] T is the translation matrix;

[0153] x w ,y w , z w They are the three coordinate values ​​of the point in the world coordinate system;

[0154] Assume that the origin of the world coordinate system is located at the center of the lens, that is, it coincides with the camera coordinate system, and the image point does not rotate or translate, then,

[0155]

[0156] Because of the overlap, the distance from the origin to the target in the two coordinate systems is the same, that is,

[0157]

[0158] According to the above formula, we can get a point (uv) on the image T The transformation relationship between the corresponding points in the world coordinate system:

[0159]

[0160] According to this formula, the point cloud can be constructed, and the result is as follows Figure 10.11 shown.

[0161] Due to the distance characteristics of the Kinect camera's depth map collection, the potato's top-down point cloud result is as follows: Figure 10.11As shown in the original point cloud set, in addition to the target potato, the image also contains point clouds of objects around the potato. To remove the point clouds of other objects, a point cloud segmentation algorithm based on curvature constraints can be used. With the desired target as the center, a suitable X / Y / Z coordinate range is set, and the segmentation is obtained as follows: Figure 10.12 The point cloud image shown contains only potato targets and a single background;

[0162] The above image has removed most of the obstacle point clouds. Now remove the background table point cloud set. It can be seen that the background point cloud set is a plane area. Figure 10.12 The point cloud shown in the figure removes the point cloud set below the background Zmax, and the result is as follows Figure 10.13 The image shown;

[0163] In order to obtain a point cloud image of the upper part of the potato with a smaller error relative to the potato, the average distance between the outermost edge of the point cloud set and the points in its adjacent inner circle is used as the standard to remove the external sparse outliers.

[0164] ① Let the target point cloud set be P = {p i |p i ∈R 3 , i = 1, 2, 3..., n}, detect any point p contained i 's neighboring points;

[0165] ② Calculate any point p i The distance to all its neighboring points is then averaged. Based on the distance and average distance, the standard deviation and variance of the included point are calculated. The characteristics of its distance distribution graph conform to the Gaussian distribution.

[0166] ③ The judgment condition of outliers is to set a range interval based on the variance and the average distance between points, and the points outside the range are judged as outliers;

[0167] ④Remove the marking points;

[0168] The processed point cloud set of the upper part of the potato is triangulated; the Delaunay triangulation network is generated by point-by-point insertion using the Lawson algorithm based on the optimization criterion. The steps are as follows:

[0169] ① Any number of adjacent triangles in the set can form a polygon;

[0170] ②Insert a new point p at any position in a local triangle in the polygon, connect the three vertices of the triangle to generate three new triangles;

[0171] ③ Use the empty circle condition, minimum angle maximization condition and LOP optimization criterion to check the three new triangles and adjacent triangles, delete an edge that does not meet the requirements or swap the diagonals of the quadrilateral to meet the requirements; Figure 10.14 Schematic diagram of the algorithm process;

[0172] The potato surface triangulation network is established based on the key feature points. A small number of large triangular meshes are established on the flat part of the potato surface, while the triangular mesh size is made smaller and the density is higher in the important feature parts of the surface. This will neither cause distortion in the important area of ​​the surface nor cause data redundancy in the flat area, and it well reflects the uneven and undulating characteristics of the potato surface. The results are as follows Figure 10.15 As shown;

[0173] Connect the vertices of the potato surface triangular mesh to the center point of the point cloud of the upper half of the potato model (bottom plane position) to form multiple interconnected tetrahedral pyramids in space, and each face of the pyramid is a triangle, such as Figure 10.16 The schematic diagram of the potato cone model structure is shown. In order to calculate the mass of the potato, the mass formula of the object m = ρV can be used;

[0174] In order to calculate the volume of the potato, first calculate the volume of each tetrahedron that makes up the three-dimensional model, such as Figure 10.17 As shown, then sum it up; the volume calculation of any polyhedron in three-dimensional space can be calculated by applying determinant and vector theory method;

[0175] Suppose a tetrahedron V in the potato cone model 1 The coordinates of the four vertices are O(x 0 ,y 0 , z 0 )、A(x 1 ,y 1 , z 1 )、B(x 2 ,y 2 , z 2 )、C(x 3 ,y 3 , z 3 ), then the volume of the tetrahedron and the total volume of the upper half of the potato are calculated as follows:

[0176]

[0177] V 上 =V 1 +V 2 +…+V n (1.12)

[0178] (3) The potato is turned upside down by the flip mechanism and photographed by the second Kinect camera. After the above processing, the volume V of the other half of the potato can be obtained. 下 ; The total mass is approximately equal to:

[0179] M=ρ(V 上 +V 下 ) (I.13)

[0180] (4) The control end concludes that each of the three rows of potatoes is within which quality range and into which discharge chute; when the infrared detection device of the sorting mechanism detects the passing potatoes, the sorter starts and moves the specific potato target.

Claims

1. A potato grading device based on machine vision, comprising a feeding mechanism, a shape quality detection mechanism, and a distribution mechanism, characterized in that: The feeding mechanism, shape quality detection mechanism and distribution mechanism are connected in sequence; The feeding mechanism is composed of a feeding conveyor belt (2); The shape quality detection mechanism is composed of a conveying roller (35) and a secondary conveying belt (17), wherein the conveying roller (35) and the secondary conveying belt (17) are arranged vertically, and the conveying roller (35) is arranged above the secondary conveying belt (17); The conveying roller (35) is composed of a plurality of rollers (35-1) installed between a first roller positioning installation plate (22-a) and a second roller positioning installation plate (22-b), and the rollers (35-1) are connected to a conveying roller motor via a belt; A first Kinect camera (4) and a second Kinect camera (6) are mounted on the first roller positioning mounting plate (22-a); the shape quality detection mechanism is provided with the first Kinect camera (4) and the second Kinect camera (6) in sequence along the direction from the potato feeding conveyor belt (2) to the primary discharge conveyor belt (11) and the secondary discharge conveyor belt (12); a flip claw mechanism (5) is mounted between the first Kinect camera (4) and the second Kinect camera (6); The flip claw mechanism (5) is provided with a flip claw (27), and the flip claw (27) is composed of three rows of closely arranged claw-shaped structures axially, and the angle between the claws in each row is 120°; The turning claw (27) is installed between the first roller positioning mounting plate (22-a) and the second roller positioning mounting plate (22-b); One end of the turning claw (27) is mounted on the first roller positioning mounting plate (22-a) via a first turning claw bracket (26-a). The other end of the turning claw (27) is mounted on the second roller positioning mounting plate (22-b) via a second turning claw bracket (26-b); The distribution mechanism is composed of a conveying module and a discharge module, and the conveying module is provided with the discharge module; the conveying module is connected by a primary discharge conveyor belt (11) and a secondary discharge conveyor belt (12); the discharge module is composed of a cylinder (33) and a discharge chute; the discharge chute includes a first discharge chute mechanism (19) and a second discharge chute mechanism (34); First unloading conveyor belt baffles (10) are arranged on opposite sides of the primary unloading conveyor belt (11), and a first unloading chute mechanism (19) is provided on the first unloading conveyor belt baffle (10). A cylinder module is arranged corresponding to the first unloading chute mechanism (19), and the cylinder module comprises a cylinder and a rod connected to the cylinder. A distributor is arranged at the end of the rod, and the cylinder module contracts to drive the distributor to move toward the first unloading chute mechanism (19); Second unloading conveyor belt baffles (30) are arranged on opposite sides of the secondary unloading conveyor belt (12), and a second unloading chute mechanism (34) is provided on the second unloading conveyor belt baffle (30). A cylinder module is arranged corresponding to the second unloading chute mechanism (34), and the cylinder module comprises a cylinder and a rod connected to the cylinder. A distributor is arranged at the end of the rod, and the cylinder module contracts to drive the distributor to move toward the second unloading chute mechanism (34); The loading conveyor belt (2) is connected to the conveying roller (35), the conveying roller (35) is connected to the primary unloading conveyor belt (11), and the primary unloading conveyor belt (11) is connected to the secondary unloading conveyor belt (12); The shape quality detection mechanism is divided into three paths by providing a partition 1 (7), and the primary unloading conveyor belt (11) is divided into three paths by providing a partition 2 (9); The distribution mechanism is composed of two conveyor belts. The first-level unloading conveyor belt (11) can unload the two outermost rows of potatoes, and the innermost potatoes are handled by the second-level unloading conveyor belt (12).

2. The potato grading device based on machine vision according to claim 1, characterized in that: Baffle mechanisms are installed on both sides of the long sides of the loading conveyor belt (2), and the loading conveyor belt (2) is connected to the loading trough (1).

3. The potato grading device based on machine vision according to claim 1, characterized in that: The shape quality detection mechanism is an image detection component, and the shape quality detection mechanism also includes an industrial camera height adjustment bracket; the industrial camera height adjustment bracket includes a first Kinect camera bracket (24) and a second Kinect camera bracket; A first Kinect camera bracket (24) and a first Kinect camera bracket base (23) are sequentially connected between the first Kinect camera (4) and the first roller positioning mounting plate (22-a); the first Kinect camera bracket (24) is a telescopic rod structure; and the first Kinect camera bracket base (23) is fixedly connected to the first roller positioning mounting plate (22-a); A second Kinect camera bracket and a second Kinect camera bracket base are sequentially connected between the second Kinect camera (6) and the first roller positioning installation plate (22-a); the second Kinect camera bracket is a telescopic rod structure; and the second Kinect camera bracket base is fixedly connected to the first roller positioning installation plate (22-a).

4. The potato grading device based on machine vision according to claim 1, characterized in that: It also includes an integral bracket, which includes a feeding mechanism bracket (13), a shape quality detection mechanism bracket (14), a primary unloading conveyor belt bracket (20), and a secondary unloading conveyor belt bracket (21); the feeding mechanism bracket (13) is arranged at the bottom of the feeding mechanism, the shape quality detection mechanism bracket (14) is arranged at the bottom of the shape quality detection mechanism, and the primary unloading conveyor belt bracket (20) and the secondary unloading conveyor belt bracket (21) are arranged at the bottom of the distribution mechanism.

5. The potato grading device based on machine vision according to claim 1, characterized in that: The roller (35) is mounted between a first roller positioning mounting plate (22-a) and a second roller positioning mounting plate (22-b) via a bearing, and positioning hinges (29) are installed between the shape quality detection mechanism bracket (14) and the first roller positioning mounting plate (22-a) and the second roller positioning mounting plate (22-b).

6. The potato grading device based on machine vision according to claim 1, characterized in that: Infrared generators and corresponding receivers are installed at the distribution mechanisms to detect potatoes passing through the guide trough.

7. The potato grading device based on machine vision according to claim 1, characterized in that: A plurality of first discharge chute mechanisms (19) are provided on both sides of the primary discharge conveyor belt (11), and a plurality of second discharge chute mechanisms (34) are provided on both sides of the secondary discharge conveyor belt (12).

8. A method for detecting potato shape and quality based on machine vision, characterized in that: Using the potato grading device based on machine vision as claimed in claim 1, the implementation steps are as follows: ① The first Kinect camera (4) captures a top-view image of the three rows of potatoes in this state; ② The control end receives the top-view image of the potato captured by the first Kinect camera (4) and processes the information; ③ The control end performs preprocessing operations on the original potato image and runs the watershed algorithm to mark different potatoes; Execute the LOG operator to detect the edge of the potato and determine whether there is any missing part of the potato edge. If there is a missing part, perform the image repair operation. Finally, combine the potato rectangularity parameter, the minimum circumscribed rectangle aspect ratio and the circularity parameter to perform shape detection. Based on the collected two-dimensional image and depth image of the potato, a point cloud image is generated, and after image segmentation and filtering, a point cloud set of the upper part of the potato is obtained; the point cloud set of the upper part of the potato is divided into a surface triangular mesh, and a tetrahedral model of the upper part of the potato is formed by combining the internal center point, and the mass of half of the potato is obtained by multiplying it by the density of the potato according to the volume calculation method of the three-dimensional geometric body in the space; ④ The turning claw (27) turns the potato on the roller so that the potato changes its upward posture; ⑤ After the potatoes are adjusted to an upward position by the flipping mechanism (5), the second Kinect camera (6) collects top-view images of the three rows of potatoes below, and collects the same batch of potato images from different perspectives; ⑥ The control end receives the top view image of the potato in the changed state captured by the second Kinect camera (6) and processes the information; Same as the third step, shape detection and quality estimation are performed; ⑦ Analyze the image processing results of the first Kinect camera (4) and the second Kinect camera (6) to determine the final shape and quality of the potato; ⑧The control end sends the execution command to the distribution agency for execution.