|
Re: tracking multi targets question
Quote:
Originally Posted by JakeC
Quote:
The camera's hardware is only capable of tracking one target at a time. But if there are two targets in its field of view, it will perform the equivalent of drawing a "box" around both of the targets and tracking the center of that "box". The robot can determine the number of targets it is tracking based on the size of that "box."
Basically, you can tell how many targets there is by the number of pixels your camera counts, distance also affects this factor.
|
True, but distance would affect height and width of the box, whereas I believe two targets only primarily affects the width, so I think you could probably compensate for it fairly effectively with some basic math.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!
I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
|