frc-862 / valkyrie

Full steam ahead!!!
http://www.lightningrobotics.com
MIT License
1 stars 0 forks source link

Develop GRIP algorithm that classifies sample images #20

Closed phurley closed 7 years ago

phurley commented 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)