File Name | Function Description |
---|---|
obj_detect.py | Obtains regions of interest through rice detection. |
white_detect.py | White spot detection module. |
yellow_detect.py | Yellow rice detection module. |
fracture_detect.py | Fracture detection module. |
fenzhi.py | Implements functions for calculating the convex hull length and analyzing the largest/second-largest contours. |
get_xy.py | Displays the mouse-clicked coordinates on an image. |
grayscale.py | Provides different methods for converting RGB images to grayscale images. |
main.py | Performs various image processing operations, including rice target region extraction, contour drawing, white spot detection, yellow rice detection, cross-section detection, etc. |
may.py | Implements functions for calculating the convex hull length and analyzing the largest/second-largest contours. |
rice_detect.py | Detects target regions in rice images, draws bounding boxes, and labels, etc. |
test_canny.py | Uses the Canny algorithm for image edge detection and dynamically adjusts parameters to display results. |
test_contrast_stretching.py | Performs contrast stretching on images to enhance their contrast. |
test_findContours.py | Detects contours in images and draws the contours and their bounding rectangles. |
test_gray.py | Implements grayscale processing for images, including various methods and channel-based grayscale conversion. |
test_open.py | Uses the opening operation for background extraction and displays the foreground image. |
test_subtract.py | Obtains the image foreground by subtracting the image after the opening operation. |
-
Notifications
You must be signed in to change notification settings - Fork 0
drggboy/RiceQualityDetector
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Use OpenCV to detect the appearance quality of rice, including calculation of rice chalkiness and calculation of the ratio of broken rice to yellow-grained rice.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published