OpenTSPS OSC data into QC
I've been testing openTSPS with quartz composer.. http://opentsps.com/ So far, as a means of basic x/y blob tracking via TUIO it works really well with standard TUIO plugin and paint example..
But I am hoping to get the OSC data into QC to properly track the CV bounding box and contours of multiple IDs. If possible it will really open up CV possibilities in QC, as the kineme CVTools don't seem to support blob and contour tracking.
At the moment, I can get only the details of the highest ID, but have managed to draw bounding box and contour details, with help from Idlefon's processing to QC blob tracking example.
The problem lies in that the QC OSC receiver only seems to read the highest IDs movement data. As I understand it, all the data is being transmitted, but the highest ID comes through first, there are multiple messages coming through per frame and quartz is only seeing the first one.. So I can only get one blob to track at a time, and it jumps around when newer blobs are detected. I think also the method I used to organize the structure into x/y is slowing it down, so it stutters when the contour info becomes quite large.
I havent made use of the personEntered or personWillLeave data as yet, but it can obviously be used to count/delete blobs from the scene, and keep track of Ids for filtering the personMoved data.(should this problem be solved.)
More information can be found here: http://www.openframeworks.cc/forum/viewtopic.php?f=8&t=4285 Its also worth looking at the processing/max examples if you can..
If someone could crack this it would be amazing! Cheers Matt