![]() |
Multiple Targets in "LabVIEW Sample two-color target tracking code"
Hey all,
My team doesn't have 2 vision targets and I couldn't tell by looking at the code; what happens if you have more than 1 distinct vision targets in front of the camera? (Does it return a rectangle covering both of them, or does it lock on to the bigger one, will the area percent include both, what if the 2 are switched, etc.) Thanks! |
Re: Multiple Targets in "LabVIEW Sample two-color target tracking code"
The way the example code was written, it will sort by size and then test the particles one at a time. If they overlap, the camera will likely likely see them as one, otherwise it will describe the largest.
If you'd like to get info on more than one, you can change the example to keep looping until you find as many as you like. Greg McKaskle |
Re: Multiple Targets in "LabVIEW Sample two-color target tracking code"
So if the targets weren't overlapping it would just select the larger target?
|
Re: Multiple Targets in "LabVIEW Sample two-color target tracking code"
It will describe the largest based upon the primary color threshold.
Greg McKaskle |
Re: Multiple Targets in "LabVIEW Sample two-color target tracking code"
Quote:
jc |
Re: Multiple Targets in "LabVIEW Sample two-color target tracking code"
You can see a video demonstration of the multi-target tracking in the middle of this video: http://www.youtube.com/watch?v=15nqy7hKixA
|
Re: Multiple Targets in "LabVIEW Sample two-color target tracking code"
Very cool video! I saw that it was always able to pick the "enemy" target - what if you have 2 enemy targets infront, I assume it picks the larger one? (It doesn't just think there is a huge target and aim between them?)
|
Re: Multiple Targets in "LabVIEW Sample two-color target tracking code"
Quote:
|
| All times are GMT -5. The time now is 08:04. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi