How to use a webcam tracked object as a cursor?

edited October 2014 in How To...

Hi there,

Newish to Processing, and have a program where I'm scanning an object's color via webcam, then using blob detection (http://www.v3ga.net/processing/BlobDetection/index-page-documentation.html) to track the object via its color. I'm wondering what the best way to go about using that tracked object as a cursor would be, i.e. moving the object to certain spots of the screen will be considered like a mouse click.

I can see cursor() looks like a possibility, but I'm not sure how that would be incorporated with the way that the Blob Detection is used.

Answers

  • v3ga library does not perform blob tracking, it only tries to find all blobs each frame it was fed with.

Sign In or Register to comment.