|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#7
|
||||
|
||||
|
Re: ball tracking w/ camera
Alan: You're right, a RIO would probably fix that, and make it considerably faster, too.
Sloteera: Thank you! I forgot that the floor was green this year. I was thinking grey again. What that means is I can very effectively filter that out by separating the RGB image, thresholding the red and blue, and ANDing that back together. That should also eliminate the problem with the stripes. Aaron: I by no means plan to track, or even interact with, balls flying through the air. I was actually intending to locate fairly stationary balls. I believe what you're referring to is the "size ordered morphology" of last-year's tracking code. It might be my best bet to use that, however, I would have to investigate the reflective properties of the field, as this would would not filter it to just round objects. I'll upload a test in a bit. I don't have the near-official one right with me, but I figured this picture would do. EDIT: I got it done. For simplicity, I just did a color threshold (instead of separating them out just to ignore the green). Also, I used a "measure particles" VI for analysis, as opposed to the "find circles". I'm assuming that with less than a 1.2 ratio between width and height, and less than 20% holes, it will be a valid gamepiece. Last edited by kamocat : 31-01-2010 at 02:35. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Camera Tracking | Tanner | NI LabVIEW | 5 | 01-02-2009 11:28 |
| Camera locked in "tracking", but not tracking | geeknerd99 | Programming | 1 | 18-02-2007 22:47 |
| camera tracking | geekofband007 | Programming | 15 | 15-02-2007 23:50 |
| Camera Tracking Problem | cprogrammer | Programming | 1 | 18-02-2005 15:00 |
| CMU Camera Tracking | auditt241 | Programming | 0 | 03-02-2005 16:33 |