View Single Post
  #2   Spotlight this post!  
Unread 15-01-2014, 01:17
faust1706's Avatar
faust1706 faust1706 is offline
Registered User
FRC #1706 (Ratchet Rockers)
Team Role: College Student
 
Join Date: Apr 2012
Rookie Year: 2011
Location: St Louis
Posts: 498
faust1706 is infamous around these partsfaust1706 is infamous around these parts
Re: Multiple Target Targeting

I gave this thread some time so someone of more knowledge on the topic of computer vision in labview could help, but....that doesn't seem to be the case.

You could find the centers of the two targets, 1 and 2, and check to see if the x component of 1 < x component of 2. I'm not sure how easily it would be to extract the center from a target, but...that is the way to do it. Then, when you know which one has the lower x component, you could save off that variable as left and the other as right.
__________________
"You're a gentleman," they used to say to him. "You shouldn't have gone murdering people with a hatchet; that's no occupation for a gentleman."
Reply With Quote