Closed phurley closed 7 years ago
See https://wpilib.screenstepslive.com/s/4485/m/24194/l/682952-2017-vision-examples to get started, but we need to generate more test data. Especially false cases to weed out false positives.
Initial GRIP chain that seems useful: CV Gaussian Blue CV Erode CV Dilate (use same iteration count as erode) HSL Threshold Find Contours Filter Contours
Might be worth experimenting with Convex Hulls
and in code (not supported by GRIP) comparing output of boundingRect with boxPoints (for our use case they should be very similar)
See https://wpilib.screenstepslive.com/s/4485/m/24194/l/682952-2017-vision-examples to get started, but we need to generate more test data. Especially false cases to weed out false positives.
Initial GRIP chain that seems useful: CV Gaussian Blue CV Erode CV Dilate (use same iteration count as erode) HSL Threshold Find Contours Filter Contours
Might be worth experimenting with Convex Hulls
and in code (not supported by GRIP) comparing output of boundingRect with boxPoints (for our use case they should be very similar)