I'm using the OpenCV library in Processing for blob detection. But what I really want to achieve is probably best described as motion tracking. I'm using the example in the book "Programming Interactivity" to perform the blob detection. But its far from ideal - because the primary blob (i.e. the zeroth Blob in my array) keeps changing. I'd ideally like to have the program follow my face or follow a blue object (so that would involve colour detection).
I've looked into colour detection but I get the impression its not possible in the Processing version of openCV. I've also looked into simply ignoring the background but I'm not sure how to do that. I've googled around A LOT.