welcome (#2) - is it possible to have xy outputs (#197) - Message List
i'm a beginer and my application is to read x y data froma an object moving round in an arena about 50x50cm the object is a mice generaly white or black a need to track it for 24 hours at least someone had just worked at a kind of application with CAM3?
-
Message #494
Assuming there is good contrast between the mouse and the background that should be very doable. If you have more than 1 mouse running around, then you would need to do something a little more sophisticated to track multiple objects. The best way to get x and y data is to look at the centroid (middle-mass) of the object being tracked.
You should start off by tuning the parameters using the CMUcam2 GUI, and then you could either use the CMUcam2-emulation firmware, or modify the simple-track-color example for your application.
You could probably get away with just logging the serial port to a text file if you are doing the rest of the processing offline. If you need to have the computer directly interact with the system, then you will need to write a program for the PC that reads the serial data.
agr04/26/08 15:18:48
