TSPS OSC Messages

Main TSPS Messages

TSPS sends messages each time an Event occurs
address
/TSPS/personEntered  OR 
/TSPS/personUpdated OR 
/TSPS/personWillLeave

 
0: pid;
1: oid;
2: age;
3: centroid.x;
4: centroid.y;
5: velocity.x;
6: velocity.y;
7: depth;
8: boundingRect.x;
9: boundingRect.y;
10: boundingRect.width;
11: boundingRect.height;
12: highest.x
13: highest.y
14: haarRect.x; - will be 0 if hasHaar == false
15: haarRect.y; - will be 0 if hasHaar == false
16: haarRect.width; - will be 0 if hasHaar == false
17: haarRect.height; - will be 0 if hasHaar == false
18: opticalFlowVectorAccumulation.x;
19: opticalFlowVectorAccumulation.y;
20+ : contours (if enabled)

TSPS 1.3.2+: Scene

address:
/TSPS/scene

 
0: currentTime
1: percentCovered
2: numPeople
3: averageMotion.x
4: averageMotion.y

TSPS 1.3.2+:  CustomEvent

address: /TSPS/customEvent

 
0: {string} eventName
1: {string} eventData