A green potato detection and grading method based on machine vision
A detection method and machine vision technology, applied in sorting and other directions, can solve the problems of large subjective influence of grading standards, unstable grading accuracy, and inapplicability of online real-time detection and grading
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0070] Such as figure 1 Shown a kind of greening potato detection method based on machine vision, comprises the steps:
[0071] (1) Roll continuously in the image acquisition area, continuously collect three different surface images, and the coverage rate is 95% of the potato surface; measure the pixel values of the three channels R, G and B of the complete image of the potato, and then use the G and B channels The global threshold region segmentation method of gray value difference filters out the background and obtains the potato segmented image (see figure 2 );
[0072] (2) Calculate the potato centroid, and remove the potato outline proportionally based on the centroid,
[0073] First calculate the potato centroid, X = 1 N Σ i = 1 n x i , Y = ...
Embodiment 2
[0100] Compared with embodiment 1, the difference is only in step 6, step 6 of this embodiment is specifically:
[0101] Set the threshold β as 10, compare the green point with the threshold β, and grade the potatoes. When the green point is greater than the threshold β, which is 10, the potato is judged as a green potato; when the green point is less than 10, it is judged as a normal potato.
Embodiment 3
[0103] Compared with Embodiment 1, the only difference is that the threshold β of this embodiment is 9 or 12.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 