1.0.6 • Published 7 years ago

sg-kinect-constants v1.0.6

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
7 years ago

sg-kinect-constants

Build Status npm Version JS Standard

Constans of kinect

Installation

$ npm install sg-kinect-constants --save

Usage

'use strict'

const {
  depthSpace,
  handState,
  jointTypes
} = require('sg-kinect-constants')

let frame = { /* ... */ }

// Get head joint from frame ata
let head = frame.joints(jointTypes.HEAD)
console.log(head)

Values

depthSpace
KeyValue
BOUND_WIDTH512
BOUND_HEIGHT424
handState
KeyValue
UNKNOWN0
NOT_TRACKED1
OPEN2
CLOSED3
LASSO4
jointTypes
KeyValue
SPINE_BASE0
SPINE_MID1
NECK2
HEAD3
SHOULDER_LEFT4
ELBOW_LEFT5
WRIST_LEFT6
HAND_LEFT7
SHOULDER_RIGHT8
ELBOW_RIGHT9
WRIST_RIGHT10
HAND_RIGHT11
HIP_LEFT12
KNEE_LEFT13
ANKLE_LEFT14
FOOT_LEFT15
HIP_RIGHT16
KNEE_RIGHT17
ANKLE_RIGHT18
FOOT_RIGHT19
SPINE_SHOULDER20
HAND_TIP_LEFT21
THUMB_LEFT22
HAND_TIP_RIGHT23
THUMB_RIGHT24

License

This software is released under the Apache-2.0 License.

Links