Thread: Image Tracking
View Single Post
  #6   Spotlight this post!  
Unread 09-01-2011, 21:15
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
Re: Image Tracking

When you're creating the VI, you must select the inputs and outputs you want.

The result is the uploaded "find bounds of squares.vi".


In this case, it also requires some further modification to see what data you have. The order of elements in the "particle analysis" is in the order you request the data.
The modified VI is the uploaded "find bounds of squares 2.vi"

If you want to find the center of these squares, just average the left and right bounds, and the top and bottom bounds.
Attached Files
File Type: vi find bounds of squares.vi (49.0 KB, 10 views)
File Type: vi find bounds of squares 2.vi (50.5 KB, 10 views)
__________________
-- Marshal Horn
Reply With Quote