View Single Post
  #2   Spotlight this post!  
Unread 29-06-2013, 07:25
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Re: Vision Processing - Target Recognition

Our team used OpenCV (through JavaCV, as this was a SmartDashboard extension) to find the targets. We used contour analysis to find possible targets, then performed a convex hull and polygon approximation. If the contour approximated to have 4 edges, oriented properly (ie. alternating nearly-horizontal and nearly-vertical), it was selected as a target, and if the aspect ratio was in the proper (configurable) range, it would be separately identified as either a 2- or 3-point target.
__________________
I code stuff.