Go to Post Can we just get over this inane lawyering of the rules and get back to building robots? . - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 13-02-2010, 03:48
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,752
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: Autonomous 2010 FRC

We know and expect the soccer to produce a circular shape, so we see a circle. The balls cast shadows and the edge is not well controlled, so the algorithm for detecting a strong edge between light and dark around the ball will often fail at some point. For that reason, the circle detection isn't a great way to spot the balls.

I've posted info on ni.com/first discussing a pretty effective that looks for circular holes in the carpet. The carpet is pretty consistent and can be masked using color or even better, luminance. You can invert the mask, remove small particles, remove edge particles, and you are ready to get a particle report. Some of the fields you can ask for in the report compare perimeter distance to area, and if you think about the math, that is a pretty good filter for circular shapes. You may want to put in a few other filters and fiddle with the range, but you can build a particle based ball tracker pretty easily.

Also keep in mind that the camera needs to be mounted so that it can see the carpet in front of it.

Greg McKaskle
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FRC 2010 Team Update #5 Alex Cormier General Forum 23 27-01-2010 13:05
Sample 2010 C++ Program's Autonomous Not Won't Run joxphoto General Forum 2 25-01-2010 13:30
2010 FRC Kickoff Workshops Mark McLeod FIRST E-Mail Blast Archive 3 07-01-2010 10:23
NASA FRC grants 2009-2010 ?? Andrew Schuetze Fundraising 18 02-10-2009 13:56
FRC Java 2010 Documentation alivemyst Java 11 07-09-2009 19:03


All times are GMT -5. The time now is 18:36.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi