Euglena tracking and OSC broadcasting

From Medien Wiki
Revision as of 09:21, 7 June 2015 by Lscherff (talk | contribs)

Quick and dirty Euglena tracking using OpenCV, Syphon, and OSC.


Threshold based Euglena detection

opencv.loadImage(cam);

opencv.gray();
opencv.invert();
threshold = int(map(mouseX,0,width,0,255));

opencv.erode();
opencv.dilate();
    
opencv.threshold(threshold);