Friday, 30 April 2010

Video tracking

Have been tracking today with videos and webcam feed, pretty cool stuff I have to say. I've got quite a few results, you can have a go yourself by downloading one I've made here: Webcam motion tracking

Note: You can use this if you have a webcam or video camera, you may have to open something like photobooth or imovie before hand for it to recognise your device is on as it picks up the last used device.



This one detects the colour red and follows that. Hence the rose.


This one follows the motion, the first one is the video itself as the object(s) following the motion. The webcam can be turned on and off but the motion still tracked.


This one follows the motion and fades away.

Another experiment I wanted to do was to try and track the white ball in a game of snooker. This is actually harder than expected because there are other areas of white or motion on the table. Here is a quick example of how it worked anyway:

(image may take a while to load)

No comments: