cu.js (see you) is a NodeJS library to track simple objects with Kinect (and webcam) using openCV.
v0.0.1 Just setting up the project, nothing works yet.
Starts tracking. Device is auto detected, default to kinect. Overload device ID.
Returns true/false depending on state of the device.
Checks to see if the frame is new
Returns all detected blobs. X and Y values are normalized from the pixel with and height, z is normalized from 0-8000mm
[{
objectID: 1
, center: {
x: 0.4
, y: 0.2
, z: 0.1
}
, width: .4
, height: .2
, contour: [ { x,y,z }]
}]
Returns the image
Returns an individual shape, same as getDetected but requires an id.
Closes the kinect connection and cleans up