View Single Post
  #27   Spotlight this post!  
Unread 07-01-2007, 18:07
joe250 joe250 is offline
Registered User
FRC #0250
 
Join Date: Jan 2007
Location: New York
Posts: 2
joe250 is an unknown quantity at this point
Re: Where is the multi object tracking code for the RC?

Quote:
Originally Posted by Kevin Watson View Post
Yes you can, but the RC needs to control the pan/tilt servos...

-Kevin
If one were to use the VW command (virtual window, see page 55 of the CMUCam2 manual), processing could be done on a particular chunk of the camera's view. By examining a 50px wide window and then repeatedly sliding that window over by a given number of pixels and re-processing, one could reconstruct the two distinct blobs and make an estimate of the number of pixels between them.

Of course if you used this method, the camera's servos would have to be driven by the RC because otherwise resetting the virtual window would cause the camera to track/center on that particular portion of the window. (I'm pretty sure anyways, haven't ever actually tested out the command).

Can anyone verify that using the VW window causes the camera to re-process only that chunk of the view? Also I'm not sure if a sliding window would be too slow. Eagerly anticipating any more hints from Kevin!