new Person
Creates a new TSPS person
- Source:
- TSPS-1.2.js, line 166
Properties:
Name | Type | Description |
---|---|---|
id |
integer | persistent id from frame to frame |
age |
integer | how many frames has this person been in the system |
boundingrect |
object | {x,y,width,height} enclosing area |
centroid |
object | center of mass of the person |
contours |
array | array of points {x,y} of contour shape |
depth |
number | raw depth from kinect |
haarrect |
object | bounding rectangle of detected feature |
opticalflow |
object | total optical flow in blob |
velocity |
object | most recent movement of centroid |
highest |
highest | point in a blob (brightest pixel, will really only work correctly with kinect) |