Go to Post We're engineers. We fix problems, not complain about them. - plnyyanks [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #1   Spotlight this post!  
Unread 30-01-2010, 20:48
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
ball tracking w/ camera

Any thoughts or code on the feasibility of using the camera to detect gamepieces?
I've been using the NI Vision assistant, and I came up with two methods so far.

The first one uses the "find geometric shapes" VI to find the circle.
The second one does a color threshold, and then uses the "Find circles" VI.

It seems like the second one should be more robust, but I haven't gotten it to detect the ball yet, because it's not quite a continuous circle. I think the gray stripes wreak havoc with actually trying to represent the ball as a circle.
However, I'm worried that the first method will pick up the goal target as well.

I've uploaded both scripts, and a sample image, so you can try. (It's zipped, because Chief Delphi doesn't allow an .scr file to be uploaded)
Attached Files
File Type: zip ball tracking.zip (69.5 KB, 187 views)
__________________
-- Marshal Horn
 


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
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


All times are GMT -5. The time now is 02:03.

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