<< PREVIOUS: Hardware: Building
Once the drum is ready, we need to setup tracking. If you are unsure if this will work in OS X or Linux, then you can also try this first. 1
First you’ll need a copy of Pd or Pure Data for your operating system.
In the event that you are using the same camera that I am, the PS3eye, you will also need to make sure that you have the correct drivers for your operating system. A small tutorial on how to install these drivers is found here.
Tracking and sound patches are separate for processing reasons and to allow sending the tracking data to other programs such as Max/MSP or others. It is currently sending messages through netsend/netreceive.
Download the tracking patch for osx and linux here.2
Uncompress and open the main.pd patch. This will load a pre-compiled library of GEM as well as best_match and fill0s externals. If you have Pd pointing to another copy of GEM you need to disable it. If you’d like to have pix_drum in your own copy of GEM you can include the sources in the /pixes folder and recompile or get the latest GEM. 3
In the main.pd patch there is a select camera option. This is only helpful in OS X. It will open a dialog to choose the camera and frame rate, as long as you have the correct drivers for the PS3 EYE camera. In this dialog you should also select the 320×240 resolution.
In linux it should go directly to the PS3eye camera, if it is the only video device open. Size and frame rate must be set separately through modprobe.4
2 Trackbacks
[...] NEXT: Software: Tracking [...]
[...] Software: Tracking [...]