Quote:
Originally Posted by Ankush Dhar
Heh has anyone actally figured out how to pick the blob, either left or right?
other than that i wanted to ask one more quesion, i am not sure but anyone knows how to calculate the width of each blob?
|
The blob with the lower y coordinates will be closer (or the other way around if your camera is upside down). But you might consider going to the one that is more infront of your robot.
width = T_Packet_Data.x2 - T_Packet_Data.x1;
Good Luck,
Robinson Levin