Quote:
Originally Posted by Smoking_Gun
Thank you, but I know all this from last year.
All I'm asking is how can I track 2 targerts or at least know the angle between them.
|
He told you.
There is no way to "track" two targets. The CMUCam2 firmware still only allows 1 target to be tracked. If it sees multiple color blobs, it will include them all in its "bounding box" and return a low confidence value.
Look at the spread of the bounding box. When tracking two targets it will most likely look like a very wide rectangle. From that you can determine the left and right limits of the targets. Using the servo angle, X center of the bounding box, and a little math, you can figure out exactly where they are in relation to your robot.