View Single Post
  #2   Spotlight this post!  
Unread 26-03-2013, 13:23
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Vision tracking - pyramid goal?

If you process an image of the pyramid goal, I suspect you'll see score numbers printed next to the large particles. The example code measure a number of factors and scores them according to the 2 and 3 point goals, so the scores will likely be very low. You may want to add or make a specialized version that uses the aspect ratio, and rectangularity measurements and scores according to pyramid. Hollowness probably doesn't make sense, and I think you can remove the convex hull operation as well.

If you put up an image, I can help a bit more with the measurements and scoring.

Greg McKaskle
Reply With Quote