A rotary online detection device and analysis method for apple external quality
Through the rotating online apple external quality inspection equipment, dual-camera machine vision and area-invariant projection algorithm, combined with deep learning, solve the problem that existing equipment cannot fully obtain apple surface information, and achieve efficient and accurate apple grading inspection. Meet the standardization needs of the modern apple industry.
Patent Information
- Application Number
- CN202211137138.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-19
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing mechanical structure of apple grading equipment causes apples to be easily damaged during detection, and it is impossible to fully obtain apple surface information. The detection results are not representative, and the detection speed is slow. Moreover, the technical level of the existing equipment is low and cannot meet the needs of the modern apple industry. Standardization requirements.
A rotating online apple external quality inspection equipment is designed, which uses dual-camera machine vision technology and area-invariant projection algorithm. The rotating fruit cup installed on the double chain drives the apples to rotate through the sprocket chain drive, and uses the friction plate to drive the apples to rotate. , achieves comprehensive acquisition of apple surface information, and combines deep learning to determine defect types.
It achieves comprehensive acquisition of apple surface information, has fast detection speed and representative results, avoids repeated detection, extends the service life of the equipment, and improves the accuracy and efficiency of apple grading.
Smart Images

Figure CN115629082B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the general field of image data processing or generation technology, and specifically is a rotary apple external quality online detection device. Background Art
[0002] Apple is the main fruit product in my country and one of the most common and consumed fruit varieties in daily life. Faced with the ever-increasing consumer market and increasingly segmented processing fields, the quality grading of apples is particularly important, which can ensure the standardization of production in apple-related industries, clarify the grade of apple products, and enhance the added value of apples. In my country, apple grading is mostly done manually by fruit farmers, and the judgment of apple grade is mainly based on experience. Only a small number of apples grown on a large scale and purchased collectively can enter the factory sorting line, resulting in a large number of apples with uneven quality, which differs from the export grading standards, and is not conducive to apple processing and export trade. Compared with advanced agricultural countries, my country has fewer post-harvest apple grading and processing equipment and lower technical levels. The existing mechanized grading and sorting, which uses rolling screens or rollers with different opening sizes to screen apples of different diameters into different grade bins, can only be used for grading apples of different sizes, which has great limitations. In addition, due to the setting of the mechanical structure of the rolling screen, the apples need to fall, which is easy to cause secondary damage to the outside of the apple during the inspection. The use of machine vision for non-destructive testing of apples has the problem of being unable to fully obtain all the information on the apple surface, the test results are not representative, and it causes repeated testing, reduces the test speed and the service life of optical testing equipment.
[0003] Therefore, a new type of rotating online inspection equipment for apple external quality and a matching analysis method are urgently needed. A sprocket chain transmission is designed, and a fruit cup that can rotate on a double chain is installed to drive the apple rotation inspection equipment. Dual-camera machine vision technology and the developed area-invariant projection algorithm are used to perform online inspection of apple size, redness and defect category, so as to obtain comprehensive information, fast inspection speed and representative results. Summary of the invention
[0004] In view of the problems existing in the background technology, the present invention provides a rotary apple external quality online detection device, which is characterized by comprising: a frame, a motor, a synchronous belt, a rotary conveying device, a friction plate, a photoelectric box, a side baffle and a blanking device, wherein the rotary conveying device, the friction plate, the photoelectric box and the blanking device are all installed on the desktop of the frame, the blanking device is located on the discharge side of the rotary conveying device, two symmetrical side baffles are respectively arranged on both sides of the rotary conveying device, and the photoelectric box used for quality detection is located directly above the friction plate; the motor is installed under the desktop of the frame, and the motor is connected to the driving shaft of the rotary conveying device through a synchronous belt to form a belt drive;
[0005] The rotary conveying device comprises: a rotating fruit cup, two sets of transmission chains, four sprockets, a driving shaft, a driven shaft, a driven shaft support assembly and a driving shaft support assembly; wherein the driving shaft and the driven shaft arranged in parallel are respectively installed on the frame through the driving shaft support assembly and the driven shaft support assembly, the two sets of transmission chains are arranged in parallel, and the four sprockets meshing with the transmission chains are installed on the driving shaft and the driven shaft in groups of two, and rotating fruit cups that can rotate freely are installed at equal intervals on the transmission chains; the upper end surface of the friction plate rubs against the lower edge of the rotating fruit cup traveling to the upper layer and drives it to rotate;
[0006] The rotating conveying device conveys the apples to the discharging side and passes through the photoelectric box, which includes: a dark box and two cameras. The two cameras are installed in the dark box at a certain angle to each other, and the intersection of the center lines of the fields of view of the two cameras is on the central route of the apples.
[0007] The installation method of the sprocket on the driving shaft is: two sprockets with the same angle are installed by interference fit at the left and right ends of the middle large step of the driving shaft, and the driving shaft is connected to the driving shaft support assembly; the driving shaft support assembly includes: a driving shaft bearing seat, a driving shaft fastener and a shaft mounting plate, one end of the driving shaft bearing seat is connected to the driving shaft bearing, and the other end is connected to the driving shaft fastener, the driving shaft fastener is fixed to the shaft mounting plate, and the shaft mounting plate is fixed to the frame;
[0008] The sprocket is installed on the driving shaft as follows: the left and right ends of the large step in the middle of the driven shaft are respectively interference fit with two sprockets of the same angle, and the driven shaft is connected to the driven shaft support assembly. The driven shaft support assembly includes: a driven shaft bearing seat, a driven shaft fastener and a shaft mounting plate. The driven shaft bearing seat is connected to the driven shaft through a bearing. The driven shaft bearing seat is installed horizontally so that the detection outlet extends out of the frame to facilitate apples to fall into the blanking device. The driven shaft fastener is a semi-I-shaped, one end of which is fixed to the driven shaft bearing seat, and the other end is fixed to the shaft mounting plate. The shaft mounting plate is fixed to the frame.
[0009] The photoelectric box also includes: supporting columns, camera mounting fixtures and light strips. The supporting columns are welded to the frame and extend out from the notches of the short plate in the middle of the side baffle. The top surface of the dark box is designed as a polygonal polyhedron. The dark box is supported by four supporting columns and is arranged directly above the baffle. It is surrounded by a flat plate, with the front and back facing the feeding side and the discharging side of the apple respectively, and the left and right sides are camera mounting surfaces. A total of 8 groups of light strip grooves are arranged on the top and front and rear sides of the dark box for installing light strips.
[0010] The rotating fruit cup comprises: two fruit cup bodies, an inner shaft, an outer hollow shaft, a locking nut, a cylindrical protrusion and a fastening screw; wherein the truncated cone-shaped fruit cup body is a high-strength black rubber fruit cup, the small end surface of the fruit cup body is integrally fixedly connected with the cylindrical protrusion, a circular through hole is opened along the axis of the fruit cup body, the fruit cup body and the cylindrical protrusion are installed on the outer hollow shaft by tensioning, so as to rotate with the outer hollow shaft; the outer hollow shaft is sleeved on the outer side of the solid inner shaft and is gap-matched with the solid inner shaft; fastening screws are installed at both ends of the inner shaft to prevent the outer hollow shaft from falling off; the two cylindrical protrusions are tightly attached to form an area between the two fruit cup bodies to allow apples to be placed.
[0011] The friction pattern on the friction plate is in the shape of a reptile, and the friction plate is installed on the frame through four 7-shaped support members; the horizontal strips and vertical strips of the 7-shaped support members are respectively provided with long holes for adjusting the position; so that the installation height of the friction plate is tangent to the fruit cup body, ensuring that the fruit cup is transported forward and rolls smoothly;
[0012] The side baffle includes: a short plate, a long plate and a baffle support assembly, wherein the long plate and the short plate are a solid plate formed by sheet metal, the angle between the short plate and the long plate is 60°, the bottom of the short plate is connected to the baffle support assembly, and the short plate is close to the rotating fruit cup to prevent the rolling apples from sliding due to accidental bumps; a rectangular notch is opened near the bend of the short plate to allow the supporting column under the photoelectric box to pass through; the baffle support assembly includes: two V-shaped supports and two trapezoidal supports, wherein the two V-shaped supports are welded to the corresponding 7-shaped supports one after the other; the outer side of the trapezoidal support is welded to the lower side of the short plate, and the inclined surface of the trapezoidal support is welded to the inner side of the long plate, and the inclined surface of the trapezoidal support is at an angle of 60° to the outer side surface, which is consistent with the angle between the short plate and the long plate, and a V-shaped support is connected to the corresponding trapezoidal support by bolts.
[0013] An analysis method based on the rotary apple external quality online detection device is also provided, characterized in that the analysis method comprises:
[0014] Step 1: Calculate the average radius and cropping width of the current apple;
[0015] The average radius Where (x c ,y c ) is the coordinate of the center point C, (x n ,y n ) are the coordinates of the apple contour;
[0016] The cropping width d=v / f, where f is the frame rate of the camera, and v is the linear speed of the apple;
[0017] Step 2: The two sets of images captured by the two cameras are cropped, and then all the cropped images are merged to form a full-width large image, where the cropped length of each image is the apple circumference l = 2πR.
[0018] Step 3, calculate the theoretical length of each horizontal line in the two full-width large images, and adjust the length by scaling;
[0019] Step 4: Crop the double-camera repeat area and the single-camera repeat area of the two sets of images after the length adjustment;
[0020] Step 5: Merge the two sets of images to generate an unfolded image of the apple surface.
[0021] Before step 1, get the complete image first, specifically:
[0022] The apples are placed on the rotating fruit cup at the head end of the rotating conveyor. The apples and the fruit cup are driven forward to the friction plate section by the sprocket chain. The fruit cup starts to rotate due to the torque generated by the friction force, driving the apples to rotate. The apples can rotate about 1-2 circles in the friction plate section. When the complete apple appears in the camera's field of view, the software triggers the two cameras to start acquiring images. The cameras shoot the apple image at a speed of 30 frames per second until the apple in the field of view is no longer complete, and the camera stops acquiring images; each camera collects a set of images.
[0023] In step 2, the theoretical length C of each row is th =2×π×MM1
[0024] Among them, the actual distance between any pixel point M on the surface of the apple of the sphere and the rotation axis of the apple is MM1:
[0025]
[0026]
[0027] In the formula, R t is the sample contour radius, β is the angle between CO and DO, α is the angle between MO and CO, l is the distance from point M to the rotation axis OD, and h is the distance from point M to the center of the field of view OC;
[0028]
[0029] Where H is the vertical distance between the camera and the apple, L is the horizontal distance between the camera and the apple, D is the distance between the camera and the sample, f is the focal length of the camera, and Y is the horizontal distance between the camera and the apple. mc is the number of pixel rows in the image;
[0030] at last:
[0031]
[0032] In the formula, C th is the theoretical length of the row image, C max is the circumference of the apple, N is the scaling factor, W is the number of original pixels in the row of images, and W p The theoretical number of pixels in this row of images.
[0033] After step 5, do:
[0034] Step 6. Further perform color extraction on the apple surface unfolded image, calculate the pixel area of the extracted red area and the pixel area of the complete unfolded image respectively, calculate the ratio of the red area area to the total area of the surface unfolded image, use deep learning to establish a surface defect type judgment model on the apple complete area unchanged unfolded image, analyze the three external qualities of size, redness and surface defect type, and finally predict the surface defect type of the apple to be inspected.
[0035] The beneficial effects of the present invention are:
[0036] 1. A new type of rotating fruit cup is adopted. The top surfaces of two identical truncated cone-shaped high-strength black rubber fruit cups are relatively tightened and installed on the hollow outer hollow shaft, which is sleeved on the solid inner shaft and locked with a nut so that the outer hollow shaft can only rotate and will not move left and right relative to the inner shaft to cause derailment. The inner shaft is fixed on the left and right straight plates with holes opposite to the two chains. While the sprocket chain drives the fruit cup forward, the fruit cup rotates under the friction force of the friction plate.
[0037] 2. Rotating double-shot detection method: the apple to be tested is placed on the rotating fruit cup. When it runs to the bottom of the photoelectric detection box, that is, on the friction plate, the rotating fruit cup starts to rotate and the apple will rotate in the opposite direction. The photoelectric detection box uses dual cameras to capture images, which can simultaneously collect information on the stalk end and calyx end of the apple, realizing all-round acquisition of apple surface information.
[0038] 3. Area-invariant projection algorithm: crop and splice the images obtained by the two cameras, and then develop an area-invariant projection algorithm based on the idea of Samson projection, so that the spherical three-dimensional apple can be expanded into a two-dimensional image according to the principle of area invariance, avoiding repeated detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a structural schematic diagram of an embodiment of a rotary online apple external quality detection device of the present invention;
[0040] Figure 2 It is a schematic structural diagram of a rotary conveying device in an embodiment of the present invention;
[0041] Figure 3 This is a schematic diagram showing the structure of only one rotating fruit cup in the embodiment of the present invention;
[0042] Figure 4 It is a cross-sectional view of a rotating fruit cup diameter surface in an embodiment of the present invention;
[0043] Figure 5 It is a schematic structural diagram of a friction plate, a baffle plate and a baffle plate support assembly in an embodiment of the present invention;
[0044] Figure 6 This is a schematic diagram of the structure of key components in a photoelectric box in an embodiment of the present invention;
[0045] Figure 7 This is a schematic diagram of the structure of a blanking device in an embodiment of the present invention;
[0046] Figure 8 It is a side view of the field of view (fixed coordinate point) of a rotating apple captured by a camera in an embodiment of a rotating apple external quality online analysis method of the present invention;
[0047] Fig. 9 An oblique view of the rotating apple field of view (fixed coordinate point) captured by a camera in the method embodiment of the present invention;
[0048] Fig.10 It is a full-width large picture of two cameras in an embodiment of the present invention;
[0049] Fig.11 It is a corresponding expansion principle diagram of the annular surface area of an apple in an embodiment of the present invention;
[0050] Fig.12 is a single image captured by two cameras at a certain moment in the embodiment of the present invention;
[0051] Fig.13 : is a corresponding diagram of a side view of an apple and a coordinate fixed point in an embodiment of the present invention;
[0052] Fig.14 Schematic diagram of different positions of point M in an embodiment of the present invention;
[0053] Fig.15 Schematic diagram of cropping the double-camera repeated area and the single-camera repeated area in two groups of images in an embodiment of the present invention;
[0054] Fig.16 This is an unfolded view of the apple surface in an embodiment of the present invention.
[0055] Among them, 1-frame, 2-motor, 3-synchronous belt, 4-driving shaft support, 5-driving shaft, 6-chain, 7-sprocket, 8-rotating fruit cup, 9-friction plate, 10-baffle support assembly, 11-side baffle, 12-photoelectric box, 13-driven shaft, 14-driven shaft support, 15-dropping chute, 16-mounting cross plate, 17-mounting bracket, 401-shaft mounting plate, 402-driving shaft fastener, 403-driving shaft bearing seat, 601-mounting plate, 1401-nut, 1402-driven shaft fastener, 1403-driven shaft bearing seat, 601-mounting straight plate, 801-locking nut, 802-inner shaft, 803-outer hollow shaft, 804-fruit cup body, 805-fastening screw, 806-cylindrical protrusion, 1001-7 shaped support, 1002-V-shaped support, 1003-trapezoidal support, 1101-long board, 1102-short board, 901-darkroom, 902-light bar, 903-camera mounting fixture, 904-camera, 905-support column, 1701-angle adjustment plate, 1702-Y-shaped support, 1703-long horizontal board. DETAILED DESCRIPTION
[0056] The present invention is further described in detail below in conjunction with the accompanying drawings.
[0057] like Figure 1 to Figure 7 The embodiment of the present invention shown in the figure comprises: a frame 1, a motor 2, a synchronous belt 3, a rotary conveying device, a friction plate 9, a photoelectric box 12, a side baffle 11 and a blanking device, wherein the rotary conveying device, the friction plate 9, the photoelectric box 12 and the blanking device are all installed on the desktop of the frame 1, the blanking device is located on the discharge side of the rotary conveying device, two symmetrical side baffles 11 are respectively arranged on both sides of the rotary conveying device, and the photoelectric box 12 for quality inspection is located directly above the friction plate 9; the motor 2 is installed under the desktop of the frame 1, and the motor 2 is connected to the driving shaft of the rotary conveying device through the synchronous belt 3 to form a belt drive;
[0058] like Figure 1 to Figure 4 As shown, the rotating conveying device conveys the apples to the discharge side and passes through the photoelectric box 12. The rotating conveying device includes: a rotating fruit cup 8, two sets of transmission chains 6, four sprockets 7, a driving shaft 5, a driven shaft 13, a driven shaft support assembly 14 and a driving shaft support assembly (not marked in the figure); wherein the parallel-arranged driving shaft 5 and the driven shaft 13 are respectively mounted on the frame 1 through the driving shaft support assembly and the driven shaft support assembly, the two sets of transmission chains 6 are arranged in parallel, and the four sprockets 7 meshing with the transmission chains 6 are mounted on the driving shaft 5 and the driven shaft 13 in groups of two, and the transmission chains 6 are evenly spaced with rotating fruit cups 8 that can rotate freely; the upper end surface of the friction plate 9 rubs against the lower edge of the rotating fruit cup 8 that travels to the upper layer and drives it to rotate.
[0059] The sprocket 7 is installed on the driving shaft 5 as follows: two sprockets 7 at the same angle are installed by interference fit at the left and right ends of the large step in the middle of the driving shaft 5, and a 15mm M12 thread is tapped on the step of the driving shaft 5 outside the sprocket 7. The sprocket 7 is locked and fixed with a nut 1401 to prevent the sprocket from moving axially. The driving shaft 5 is connected to the driving shaft support assembly 14, and the driving shaft support assembly 14 includes: a nut 1401, a bearing, a driving shaft bearing seat 403, a driving shaft fastener 402 and a shaft mounting plate 401. A bearing is installed in the step at one end of the driving shaft bearing seat 403 and is connected to the driving shaft 13 and installed vertically. The other end is connected to the driving shaft fastener 402. The driving shaft fastener 402 is fixed on the shaft mounting plate 401, and the shaft mounting plate 401 is fixed on the frame 1.
[0060] The sprocket 7 is installed on the driving shaft 5 as follows: the left and right ends of the middle large step of the driven shaft 13 are respectively interference fit with two sprockets 7 at the same angle, the driven shaft 13 is connected to the driven shaft support assembly 14, the driven shaft support assembly 14 includes a nut 1401, a bearing, a driven shaft bearing seat 1403, a driven shaft fastener 1402 and a shaft mounting plate 401, the driven shaft bearing seat 1403 is connected to the driven shaft 13 through a bearing, the driven shaft bearing seat 1403 is installed horizontally so that the detection outlet extends out of the frame 1 to facilitate the apple to fall into the dropping device, the driven shaft fastener 1402 is a semi-I-shaped, one end is fixed to the driven shaft bearing seat 1403, and the other end is fixed to the shaft mounting plate 401, and the shaft mounting plate 401 is fixed to the frame 1.
[0061] The rotating fruit cups 8 are evenly spacedly mounted on the transmission chain 6 as follows: a straight plate 601 with a hole is fixedly connected to the transmission chain 6 every three pitches; the straight plate 601 with a hole is provided with fruit cup shaft mounting holes for allowing both ends of the inner shaft 802 in the rotating fruit cup 8 to pass through, and when the transmission chain 6 is installed, the positions of the mounting straight plates 601 on the left and right sides correspond to each other.
[0062] In this embodiment, the transmission chain 6 used is a 08B type standard transmission chain; the dimensions of the hole-mounted straight plate 601 are 9 mm wide and 13 mm high; the diameter of the fruit cup shaft mounting hole is 3 mm; and the spacing between the two rotating fruit cups 8 is less than 1 / 3 of the average size of the apples to be tested.
[0063] like Figure 3The rotating fruit cup 8 shown comprises: two fruit cup bodies 804, an inner shaft 802, an outer hollow shaft 803, a locking nut 801, a cylindrical protrusion 806 and a fastening screw 805; wherein the truncated cone-shaped fruit cup body 804 is a high-strength black rubber fruit cup, and a cylindrical protrusion 806 is integrally fixed to the outer small end surface of the fruit cup body 804, and the axis of the cylindrical protrusion 806 and the fruit cup body 804 are collinear; the fruit cup body 804 and the cylindrical protrusion 806 are installed on the outer hollow shaft 803 by tensioning, so as to rotate with the outer hollow shaft 803; the outer hollow shaft 803 is sleeved on the outer side of the solid inner shaft 802 and has a clearance fit with the solid inner shaft 802; fastening screws 805 are installed at both ends of the inner shaft 802 to prevent the outer hollow shaft 803 from falling off; the two cylindrical protrusions 806 are closely attached to form an area between the two fruit cup bodies 804 to allow apples to be placed;
[0064] The height of the fruit cup body 804 is 24mm, the diameter of the large end circle is 72mm, the diameter of the small end circle is 58mm, and a circular through hole with a diameter of 8mm is opened along the axis of the fruit cup body 804; the distance between the large end circles of the two fruit cup bodies 804 is 66mm, and the length of the cylindrical protrusion 806 is 9mm.
[0065] The outer hollow shaft 803 is a steel hollow shaft with an outer diameter of 10 mm, an inner diameter of 8 mm, and a length of 65 mm. The inner shaft is a steel solid shaft with a diameter of 7 mm and a length of 82 mm. Both ends of the inner shaft are sleeved with M7 external threads with a length of 16 mm, wherein two mounting locking nuts 801 are installed on each M7 external thread to prevent the inner shaft 802 from shifting to the left or right and causing it to fall out, and it is necessary to ensure that the inner shaft 802 and the outer hollow shaft 803 can only roll relative to each other coaxially;
[0066] The centers of both end faces of the inner shaft are tapped with M3 internal threads with a depth of 10 mm. The fastening screws 805 are mounted on the outside of the straight plate 601 with holes on the transmission sprocket. The installed fruit cup shaft with the fruit cup body 804 and the locking nut 801 is on the inside of the straight plate 601 with holes. The fastening screws 805 are passed through the holes on the mounting straight plate 601 to connect and fasten with the internal threads of the inner shaft 802. The other end is also fastened to the corresponding mounting straight plate 601 on another transmission chain 6. After the screws are tightened, the fruit cup shaft is guaranteed to move synchronously with the transmission chain. The fruit cup side wheel is expansion-mounted on the outer hollow shaft to ensure that it moves synchronously with the outer hollow shaft 803.
[0067] like Figure 5The friction pattern on the friction plate 9 shown is in the shape of a reptile. The friction plate 9 is installed on the frame 1 through four 7-shaped support members 1001. The friction plate 9 is bolted to the horizontal strips of the 7-shaped support members 1001, and the vertical strips of the 7-shaped support members 1001 are bolted to the frame 1. The horizontal strips and vertical strips of the 7-shaped support members 1001 are respectively provided with long holes for adjusting the position; thus, the installation height of the friction plate 9 is tangent to the fruit cup body 804 (friction contact), ensuring that the fruit cups are transported forward and roll smoothly.
[0068] In this embodiment, the friction plate 9 has a length of 500 mm and a width of 160 mm. The upper surface fits the lower part of the upper fruit cup, providing friction from below when the fruit cup moves forward with the transmission chain 6, causing it to roll forward on the friction plate. Four 7-shaped support members 1001 are respectively distributed on the front, back, left and right sides of the friction plate surface.
[0069] like Figure 5 The side baffle 11 shown includes: a short plate 1102, a long plate 1101 and a baffle support assembly 10, wherein the long plate 1101 and the short plate 1102 are a solid plate formed by sheet metal, the angle between the short plate 1102 and the long plate 1101 is 60°, the lower part of the short plate 1102 is connected to the baffle support assembly 10, and the short plate 1102 is close to the rotating fruit cup 8 to prevent the rolling apple from sliding due to accidental bumps, thereby avoiding jamming failure; a rectangular notch is opened near the bend of the short plate 1102 to allow the support column 905 under the photoelectric box 9 to pass through; the baffle support The support assembly 10 includes: two V-shaped support members 1002 and two trapezoidal support members 1003, wherein the two V-shaped support members 1002 are welded to the corresponding 7-shaped support members 1001 one after the other; the outer side of the trapezoidal support member 1003 is welded to the lower side of the short plate 1102, and the inclined surface of the trapezoidal support member 1003 is welded to the inner side of the long plate 1101, and the inclined surface of the trapezoidal support member 1003 forms an angle of 60° with the outer side surface, which is consistent with the angle between the short plate 1102 and the long plate 1101, and a V-shaped support member 1002 is connected to the corresponding trapezoidal support member 1003 by bolts.
[0070] like Figure 6The quality inspection photoelectric box shown uses machine vision technology to inspect the appearance quality of apples. The photoelectric box 9 includes: support columns 905, a dark box 901, two cameras 904, a camera mounting fixture 903 and a light bar 902. The dark box 901 is supported by four support columns 905 and is set directly above the baffle 11. The support columns 905 are welded to the frame 1 and extend from the notch of the baffle short plate 1102. The dark box 901 is made of opaque black steel plate, and the top surface of the dark box 901 is designed to be octagonal. The polyhedron is surrounded by a flat plate, with the front and back facing the feeding side and the discharging side of the apple respectively, and the left and right sides are the camera installation surfaces; two cameras 904 at a certain angle to each other are installed above the dark box 901 by adjusting the camera fixture 903, and the intersection of the center lines of the field of view of the two cameras 904 is on the path of the center of the apple; when installed, the plane where the center of the field of view of the two cameras 904 is located is perpendicular to the chain transmission direction, and the lens is made to face the middle position just above the friction plate 9 in the dark box 901 as much as possible. A total of 8 sets of light bar grooves are set on the top and front and rear sides of the dark box 901 for installing light bars 902 to provide a stable and uniform light source for detection.
[0071] In this embodiment, an opening groove 120 mm wide and 20 mm high is opened on the lower edge of the flat plate located at the front and back of the dark box 901 where the rotating fruit cup 8 passes, which is conducive to the smooth entry of large-sized apples into the photoelectric detection box 9. The flat plates located on both sides of the dark box 901 are opened 140 mm away from the top surface of the dark box with installation long strip holes for positioning the camera installation fixture 903, and each seam is sealed with tape to prevent light leakage.
[0072] like Figure 7 The material dropping device shown includes: a material dropping trough 15, a mounting cross plate 16 and a mounting bracket assembly 17, wherein the material dropping trough 15 is in the shape of a closed dustpan, and its inner bottom surface and side walls are covered with food-grade foamed silica gel with adhesive backing, which is used to cushion the falling spherical fruits and vegetables and prevent the spherical fruits and vegetables from being bumped and damaged during the dropping. The mounting cross plate 16 is welded to the bottom end of the entrance of the material dropping trough 15, and the holes at both ends of the mounting cross plate 16 are connected to the mounting bracket assembly 17; wherein the mounting bracket assembly 17 includes: a long cross plate 1703, a Y-shaped support member 1702 And the angle adjustment plate 1701, the long horizontal plate 1703 is fixed on the desktop of the frame 1, the lower end of the Y-shaped support 1702 is fixedly connected to the long horizontal plate 1703, the Y-shaped support 1702 is vertically upward, and the two upper fork corners are both opened with holes, the angle adjustment plate 1701 is fixedly connected to the mounting horizontal plate 16 arranged on the inner side thereof, a small hole is opened at the middle top end of the angle adjustment plate 1701 for fixing with one fork corner of the Y-shaped support 1702, and an arc-shaped long hole is opened at the middle tail end for fixing with the other fork corner, and the inclination angle of the blanking device can be adjusted by adjusting the relative position of the fork corner and the arc-shaped long hole.
[0073] During operation, the motor 2 drives two sets of transmission chains 6 to rotate simultaneously through three driving shafts 5 of the synchronous belt; after the rotating fruit cup 8 in the rotating conveying device rotates to the layer side, an apple (by a feeding mechanism or manually) is placed between the two rotating fruit cups 8 from the feeding side, and then the rotating fruit cup 8 travels to the friction plate 9 area and rotates under the friction with the friction plate 9, thereby driving the apple to rotate; the rotating apple is conveyed through the photoelectric box 12, and the quality is inspected by the camera 904 and analyzed by the analytical method at the same time, and finally dropped through the dropping device.
[0074] The analytical methods used to detect the three external qualities of apples, size, redness and types of surface defects, are:
[0075] Before step 1, get the complete image first, specifically:
[0076] The apples are placed on the rotating fruit cup at the head end of the rotating conveyor. The apples and the fruit cup are driven forward to the friction plate section by the sprocket chain. The fruit cup starts to rotate due to the torque generated by the friction force, driving the apples to rotate. The apples can rotate about 1-2 circles in the friction plate section. When the complete apple appears in the camera's field of view, the software triggers the two cameras to start acquiring images. The cameras shoot the apple image at a speed of 30 frames per second until the apple in the field of view is no longer complete, and the cameras stop acquiring images. Each camera collects a group of images; the single images obtained by the two cameras are as follows: Fig.12 shown.
[0077] Step 1: Calculate the average radius of the current apple;
[0078] The principle of obtaining the complete surface area of the apple is as follows: Figure 8 and Fig. 9 As shown in the figure, in the apple space, points A, B, C, D, E, X and O are all fixed points in the space and will not change position with the rotation of a single apple. Point X in the figure is the center point of the field of view of the camera's imaging device, point O is the center point of the apple, the vertical distance between the center point of the camera's field of view and the center point of the apple is H, and the horizontal distance between the center point of the camera's field of view and the center point of the apple is L.
[0079] Point C is the intersection of the line XO connecting the center point of the camera's field of view and the center point of the apple and the surface of the apple, that is, the direction of the camera's field of view is the direction of the straight line where XC is located in the figure and points to the center of the apple O, point A is the farthest top end of the apple that the camera can capture, point B is the highest point on the surface of the rotating apple, point D is the surface point on the rotation axis of the rotating apple, and point E is the lowest bottom end of the apple that the camera can capture; CO is the direction of the camera's field of view, DO is the straight line where the apple's rotation axis is located, the angle between CO and the rotation axis DO is θ, AE is perpendicular to CO, and BO is perpendicular to DO.
[0080] The camera's field of view relative to the apple is ∠AXE, XC is the center line of the field of view, and the apple is constantly rotating along OD on the rotating fruit cup. The points on the apple surface that pass through these fixed points in space are also constantly changing. The image obtained is a fixed moment (such as Fig.12 As shown), the midpoint of each acquired image is the point on the surface of the apple that coincides with point C at the moment of freezing, and is set as C1 (the other camera is set as C2, and the principle is explained later with one camera as the core). Therefore, the idea of the method for obtaining the complete surface area unchanged expansion map of the apple is to analyze the left camera, and cut a certain width of the acquired image with the center point C1. The width is the width of the apple passing through point B during the interval between the two images acquired by the camera. The cut long strips of images are spliced into a large image, and then the circumference of the apple's equatorial plane (the upper and lower width is one frame) is calculated according to the spherical characteristics of the apple. The large image is cut with the center of the large image as the center to be the circumference of the apple. At this time, the image includes the left half of the apple plus the width of the apple passing through one rotation. Since the surface of the apple is a curved surface, the point on the apple passing through the vertex D of the rotation axis will not change during the interval between the two frames acquired by the camera, while the point on the apple passing through the vertex D of the rotation axis will not change. The area of the position, as the rotation radius, i.e. the distance to OD, gradually becomes longer, the width gradually increases, and the width passing through the fixed point B in the space is the largest. Therefore, when the width of the long strip image intercepted by each image is the maximum width, only the width of the apple area passing through point B is correct, and other points are intercepted repeatedly, so the intercepted long strips are spliced together, that is, the widths passing through the same point in the space at all times are accumulated, which is the row coordinate of the spliced expanded image corresponding to the fixed point in the space. Let the row corresponding to B be the row where B1 is located (the other camera is B2), and the other points are similar. At this time, the length corresponding to each row is the circumference of the apple;
[0081] The specific calculation method is as follows: Taking a single camera as an example, firstly, the speed of the rotating transmission device (uniform speed in this embodiment) is calculated from the rotation speed of the motor, that is, the linear speed of the roller, that is, the linear speed v of the apple, and the width of the apple rotating through the highest point B in the space during the time when a certain camera obtains two adjacent images is calculated by d=v / f. Fig. 9 As shown, where f is the frame rate captured by the camera;
[0082] Then all the photos from a set of images from a certain camera are processed and pre-cropped, and the average radius of the current apple is calculated from all the individual photo outlines. Where (x c ,y c ) is the coordinate of the center point C, (x n ,y n ) are the coordinates of the apple's outline.
[0083] Step 2: The two sets of images collected by the two cameras are cropped, and then all the cropped images are merged to form a full-width large image;
[0084] For each image in a set of images from two cameras, take C1 (C2 for the other camera) as the midpoint and crop the area with a crop width of d;
[0085] All the cropped areas are stitched together into a complete large image. The center of the stitched large image is taken as the center, and the perimeter of the apple is l = 2πR as the interception length. The full width of the stitched large image is intercepted, such as Fig.10 The full-width image shown is an expanded view of an apple taken from two camera angles after one rotation; in the image, point C1 is the intersection of a line connecting the center point of a camera's field of view and the center point of the apple and the surface of the apple, point A1 is the farthest top end of the apple that the camera can capture, point B1 is the highest point on the surface of the rotating apple, point D1 is a surface point on the rotation axis of the rotating apple, and point E1 is the lowest bottom end of the apple that the camera can capture. Similarly, point C2 is the intersection of a line connecting the center point of another camera's field of view and the center point of the apple and the surface of the apple, point A1 is the farthest top end of the apple that the camera can capture, point B1 is the highest point on the surface of the rotating apple, point D1 is a surface point on the rotation axis of the rotating apple, and point E1 is the lowest bottom end of the apple that the camera can capture ( Fig.12 , Fig.15 and Fig.16 The symbols in have the same meaning).
[0086] Step 3, calculate the theoretical length of each horizontal line in the two full-width large images, and adjust the length by scaling;
[0087] Except for the row where point B1 or B2 is located, the length of the other rows is repeated. Therefore, in order to ensure that the area of the apple is unchanged, the theoretical length of each row (one pixel is one row in this embodiment) of the image is calculated; and each row of the image is scaled according to the length scaling factor. The principle is: since the appearance of the apple can be approximated as a sphere, each row of pixels in the expanded image reflects an annular area image on the surface of the apple perpendicular to the rotation axis, such as Fig.11 and Fig.13 As shown in the figure, the annular area on the surface of the apple is a row of pixels of a certain width on the unfolded image after being rotated and photographed; and the thin rings at different positions on the outer surface of the sphere can be regarded as the rings of the section circles at different positions perpendicular to the rotation axis in the sphere, so the circumference of the ring C h The calculation formula is:
[0088]
[0089] Where θ is the angle between the point on the ring and the line connecting the center of the sphere and the axis of rotation, R is the average radius of the current apple, r is the radius of the ring, and C his the circumference of the ring. From the formula, we can know that the circumference of the ring increases sinusoidally from the left and right poles of the apple to the center, and reaches the maximum on the equatorial plane of the apple. Since the length of each row of pixels in the expanded image reflects the circumference of the section of the apple sample perpendicular to the rotation axis, the row length should also change according to the sinusoidal law, increasing from the two poles to the equatorial plane. This is consistent with the characteristic that the meridians of the Samson projection image that can ensure the unchanged area in the aforementioned projection method all change sinusoidally. After transforming the length of each row of pixels on the expanded image according to the length of the circumference of the section of the apple surface where the row is located, we can get a row of pixels with the same area ratio as the true value in the image. By extending this to all pixel rows, we can get a full surface expanded image with the same area ratio as the true area ratio of the sphere surface.
[0090] Based on the above principles, the circumference of the circle on the surface of the apple where the pixel row is located is first regarded as the theoretical length of the row during calculation. When the apple sample is tested, it rotates through the image acquisition area, and the image is acquired by a camera installed at an angle on the side of the darkroom. Changes in the camera installation position and angle will affect the angle of the apple sample in the image, and will also directly affect the theoretical length of each row of pixels. Combined with the image acquisition method and camera orientation, the theoretical length of all pixel rows is calculated by converting the actual position of each pixel on the apple surface into image coordinates in the expanded view.
[0091] Therefore, the calculation of the theoretical length of each row is as follows:
[0092] like Fig.13 As shown in the figure, the actual distance between any pixel point M on the apple surface of the sphere and the center point C of the camera field of view is MM2, and the actual distance from the apple rotation axis is MM1. Since the outer surface expansion diagram takes the annular area where point C is located as the image center line, the pixel distance Y between point M and point C in the expansion diagram is mc That is, it reflects the actual vertical distance between two MC points. mc The size of , combined with the focal length f of the camera and the distance between the camera and the sample, can be used to calculate the actual distance MM2 between any pixel point M and CO on the surface of the spherical apple. The specific calculation is:
[0093]
[0094] Where H is the vertical distance between the camera and the apple, L is the horizontal distance between the camera and the apple, D is the distance between the camera and the sample, f is the focal length of the camera, and Y is the horizontal distance between the camera and the apple. mc is the number of pixel rows in the image.
[0095] Given MM2, make a section circle perpendicular to the rotation axis through point M. The radius of the section circle is MM1. The circumference of the section circle is the theoretical length C of the row where point M is located on the development diagram. th When point M is located in different areas of the sample, the vertical distance and direction from the straight line CO are different, such as Fig.13 As shown;
[0096] like Fig.14 As shown in the figure, the formula for calculating MM1 is different according to the different positions of point M. According to the principle of plane geometry and the obtained radius of the apple sample, the circumference of the section circle can be calculated as the theoretical length of the row of images. The specific calculation formula is:
[0097] C th =2×π×MM1
[0098] in:
[0099]
[0100]
[0101] In the formula, R t is the sample contour radius, β is the angle between CO and DO, α is the angle between MO and CO, l is the distance from point M to the rotation axis OD, and h is the distance from point M to the center of the field of view OC.
[0102] Since the point farthest from the rotation axis during the rotation of the apple has the largest radius, which is the radius of the apple, the circumference of the tangent circle is the circumference of the apple, that is, the length of the rectangular splicing expansion diagram. The theoretical length of this line after projection transformation is the largest, which is C. max .
[0103] According to the coordinates of each row of images on the unfolded image, the actual position of the row of images on the apple surface and the theoretical length C of the row of images are obtained through the above calculations. th The theoretical length is compared with the maximum theoretical length. The ratio is the length scaling factor N of the row of images on the expanded image. The scaling factor multiplied by the length of the row of pixels on the expanded image is the theoretical pixel row length W that the row of pixels should reach after projection transformation. p , the specific calculation is:
[0104]
[0105] In the formula, C th is the theoretical length of the row image, C max is the circumference of the apple, N is the scaling factor, W is the number of original pixels in the row of images, and W p The theoretical number of pixels in this row of images.
[0106] Step 3: Crop the double-camera repeat area and the single-camera repeat area of the two sets of images after the length transformation, as shown in FIG15 ;
[0107] After the apple rotates around When the area on the apple corresponding to the right camera rotates to above point D, it will be photographed again and cut and spliced, so the projection of the repeated area below point D will be deleted in the Samson projection, that is, D1 on the projection map (D2 for the other camera); all images obtained by the right camera are processed in the same way, but because the two cameras will have repeated shooting areas, the highest point B is set as the dividing point, that is, B1 on the projection map (B2 for the other camera) is the boundary;
[0108] Step 4: Merge the two sets of images to generate an unfolded image of the apple surface, such as Fig.16 As shown;
[0109] Step 5. Further perform color extraction on the apple surface unfolded image, calculate the pixel area of the extracted red area and the pixel area of the complete unfolded image respectively, calculate the ratio of the red area area to the total area of the surface unfolded image, use deep learning to establish a surface defect type judgment model on the apple complete area unchanged unfolded image, analyze the three external qualities of size, redness and surface defect type, finally predict the surface defect type of the apple to be inspected, and display the inspection results on the computer display interface.
Claims
1. A rotary online inspection device for apple external quality, characterized in that: include: A frame (1), a motor (2), a synchronous belt (3), a rotary conveying device, a friction plate (9), a photoelectric box (12), a side baffle (11) and a blanking device, wherein the rotary conveying device, the friction plate (9), the photoelectric box (12) and the blanking device are all installed on the desktop of the frame (1), the blanking device is located on the discharge side of the rotary conveying device, two symmetrical side baffles (11) are respectively arranged on both sides of the rotary conveying device, and the photoelectric box (12) used for quality inspection is located directly above the friction plate (9); the motor (2) is installed below the desktop of the frame (1), and the motor (2) is connected to the driving shaft of the rotary conveying device through the synchronous belt (3) to form a belt drive; The rotary conveying device comprises: a rotating fruit cup (8), two groups of transmission chains (6), four sprocket wheels (7), a driving shaft (5), a driven shaft (13), a driven shaft support assembly (14) and a driving shaft support assembly; wherein the driving shaft (5) and the driven shaft (13) arranged in parallel are respectively mounted on a frame (1) through the driving shaft support assembly and the driven shaft support assembly, the two groups of transmission chains (6) are arranged in parallel, and the four sprocket wheels (7) meshing with the transmission chains (6) are mounted on the driving shaft (5) and the driven shaft (13) in groups of two, and rotating fruit cups (8) that can rotate freely are mounted at equal intervals on the transmission chains (6); the upper end surface of the friction plate (9) rubs against the lower edge of the rotating fruit cup (8) traveling to the upper layer, and drives it to rotate; The rotating conveying device conveys the apples to the discharge side and passes through the photoelectric box (12), the photoelectric box (12) comprising: a dark box (901) and two cameras (904), the two cameras (904) being installed in the dark box (901) at a certain angle to each other, and the intersection point of the center lines of the fields of view of the two cameras (904) is on the central path of the apples; The sprocket (7) is installed on the driving shaft (5) in the following manner: two sprockets (7) with the same angle are installed at the left and right ends of the middle large step of the driving shaft (5) respectively by interference fit, and the driving shaft (5) is connected to the driving shaft support assembly; the driving shaft support assembly comprises: a driving shaft bearing seat (403), a driving shaft fastener (402) and a shaft mounting plate (401), one end of the driving shaft bearing seat (403) is connected to the driving shaft (5) bearing, and the other end is connected to the driving shaft fastener (402), the driving shaft fastener (402) is fixed on the shaft mounting plate (401), and the shaft mounting plate (401) is fixed on the frame (1); The sprocket (7) is installed on the driven shaft (13) in the following manner: the left and right ends of the middle large step of the driven shaft (13) are respectively interference-fitted with two sprockets (7) of the same angle; the driven shaft (13) is connected to the driven shaft support assembly; the driven shaft support assembly comprises: a driven shaft bearing seat (1403), a driven shaft fastener (1402) and a shaft mounting plate (401); the driven shaft bearing seat (1403) is connected to the driven shaft (13) through a bearing; the driven shaft bearing seat (1403) is installed in a transverse manner so that the detection outlet extends out of the frame (1) to facilitate apples to fall into the drop device; the driven shaft fastener (1402) is semi-I-shaped, one end of which is fixed to the driven shaft bearing seat (1403) and the other end is fixed to the shaft mounting plate (401); the shaft mounting plate (401) is fixed to the frame (1); The rotating fruit cup (8) comprises: two fruit cup bodies (804), an inner shaft (802), an outer hollow shaft (803), a locking nut (801), a cylindrical protrusion (806) and a fastening screw (805); wherein the truncated cone-shaped fruit cup body (804) is a high-strength black rubber fruit cup, the cylindrical protrusion (806) is integrally fixedly connected to the small end surface of the fruit cup body (804), a circular through hole is opened along the axis of the fruit cup body (804), and the fruit cup body (804) and the cylindrical protrusion are connected to each other. The outlet portion (806) is installed on the outer hollow shaft (803) by tensioning, so as to rotate together with the outer hollow shaft (803); the outer hollow shaft (803) is sleeved on the outer side of the solid inner shaft (802) and is loosely matched with the solid inner shaft (802); fastening screws (805) are installed at both ends of the inner shaft (802) to prevent the outer hollow shaft (803) from falling off; the two cylindrical protrusions (806) are tightly attached to form an area between the two fruit cup bodies (804) to allow apples to be placed.
2. The rotary apple external quality online detection device according to claim 1, characterized in that: The photoelectric box (12) also includes: a support column (905), a camera installation fixture (903) and a light bar (902). The support column (905) is welded to the frame (1) and extends out from the notch of the short plate (1102) in the middle of the side baffle (11). The top surface of the dark box (901) is designed as an octagonal polyhedron. The dark box (901) is supported by four support columns (905) and is arranged directly above the side baffle (11). It is surrounded by a flat plate, with the front and back facing the feeding side and the discharging side of the apple respectively, and the left and right sides are camera installation surfaces. A total of 8 groups of light bar grooves are arranged on the top and front and rear sides of the dark box (901) for installing the light bar (902).
3. The rotary apple external quality online inspection device according to claim 1, characterized in that: The friction pattern on the friction plate (9) is in the shape of a reptile. The friction plate (9) is mounted on the frame (1) via four 7-shaped support members (1001). Long holes for adjusting the position are respectively provided on the horizontal strips and vertical strips of the 7-shaped support members (1001); thereby, the installation height of the friction plate (9) is tangent to the fruit cup body (804), ensuring that the fruit cup can be transported forward and roll smoothly. The side baffle (11) comprises: a short plate (1102), a long plate (1101) and a baffle support assembly (10), wherein the long plate (1101) and the short plate (1102) are a solid plate formed by sheet metal, the angle between the short plate (1102) and the long plate (1101) is 60 degrees, the bottom of the short plate (1102) is connected to the baffle support assembly (10), and the short plate (1102) is close to the rotating fruit cup (8) to prevent the rolling apple from sliding due to accidental bumps; a rectangular notch is opened near the bend of the short plate (1102) to allow the support column (905) below the photoelectric box (12) to pass through; the baffle support assembly (10) is provided with a plurality of holes, and the baffle support assembly (10) is provided with a plurality of holes, and the plurality of holes are provided with a plurality of holes. 0) comprises: two V-shaped support members (1002) and two trapezoidal support members (1003), wherein the two V-shaped support members (1002) are welded to the corresponding 7-shaped support members (1001) one after the other; the outer side of the trapezoidal support member (1003) is welded to the lower side of the short plate (1102), the inclined surface of the trapezoidal support member (1003) is welded to the inner side of the long plate (1101), the inclined surface of the trapezoidal support member (1003) forms an angle of 60° with the outer side surface, which is consistent with the angle between the short plate (1102) and the long plate (1101), and a V-shaped support member (1002) is connected to the corresponding trapezoidal support member (1003) by bolts.
4. An analysis method based on the rotary apple external quality online detection device according to claim 1, characterized in that: The analysis method comprises: Step 1: Calculate the average radius and cropping width of the current apple; The average radius Where (x c ,y c ) is the coordinate of the center point C, (x n ,y n ) are the coordinates of the apple contour; The cropping width d=v / f, where f is the frame rate of the camera, and v is the linear speed of the apple; Step 2: The two sets of images captured by the two cameras are cropped, and then all the cropped images are merged to form a full-width large image, where the cropped length of each image is the apple circumference l = 2πR. Step 3, calculate the theoretical length of each horizontal line in the two full-width large images, and adjust the length by scaling; Step 4: Crop the double-camera repeat area and the single-camera repeat area of the two sets of images after the length adjustment; Step 5: Merge the two sets of images to generate an unfolded image of the apple surface.
5. The analysis method of the rotary apple external quality online detection device according to claim 4 is characterized in that: Before step 1, get the complete image first, specifically: Place the apple on the rotating fruit cup at the head end of the rotating conveyor. The apple and the fruit cup are driven forward to the friction plate section by the sprocket chain. The fruit cup starts to rotate due to the torque generated by the friction force, driving the apple to rotate. The apple can rotate 1-2 times in the friction plate section. When the complete apple appears in the camera's field of view, the software triggers the two cameras to start acquiring images. The camera shoots the apple image at a speed of 30 frames per second until the apple in the field of view is no longer complete, and the camera stops acquiring images; each camera collects a set of images.
6. The analysis method of the rotary apple external quality online detection device according to claim 4 is characterized in that: In step 2, the theoretical length C of each row is th =2×π×MM1 Among them, the actual distance between any pixel point M on the surface of the apple of the sphere and the rotation axis of the apple is MM1: In the formula, R t is the sample contour radius, β is the angle between CO and DO, α is the angle between MO and CO, l is the distance from point M to the rotation axis OD, and h is the distance from point M to the center of the field of view OC; Where H is the vertical distance between the camera and the apple, L is the horizontal distance between the camera and the apple, D is the distance between the camera and the sample, f is the focal length of the camera, and Y is the horizontal distance between the camera and the apple. mc is the number of pixel rows in the image; at last: In the formula, C th is the theoretical length of the row image, C max is the circumference of the apple, N is the scaling factor, W is the number of original pixels in the row of images, and W p The theoretical number of pixels in this row of images.
7. The analysis method of the rotary apple external quality online detection device according to claim 4 is characterized in that: After step 5, do: Step 6. Further perform color extraction on the apple surface unfolded image, calculate the pixel area of the extracted red area and the pixel area of the complete unfolded image respectively, calculate the ratio of the red area area to the total area of the surface unfolded image, use deep learning to establish a surface defect type judgment model on the apple complete area unchanged unfolded image, analyze the three external qualities of size, redness and surface defect type, and finally predict the surface defect type of the apple to be inspected.
Citation Information
Patent Citations
Potato external quality detection device and method
CN108760759A
Chain pitch detection device and method based on double cameras
CN112150539A
Tray conveying system suitable for full-perimeter real-time detection of fruits
CN113415574A
On-line fruit quality detection and classification apparatus and method based on three camera chains
CN1603013A
Fruit cup rotating device
CN210971763U
