Skip to content

realglobe-Inc/sg-kinect-constants

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
Key Value
BOUND_WIDTH 512
BOUND_HEIGHT 424
handState
Key Value
UNKNOWN 0
NOT_TRACKED 1
OPEN 2
CLOSED 3
LASSO 4
jointTypes
Key Value
SPINE_BASE 0
SPINE_MID 1
NECK 2
HEAD 3
SHOULDER_LEFT 4
ELBOW_LEFT 5
WRIST_LEFT 6
HAND_LEFT 7
SHOULDER_RIGHT 8
ELBOW_RIGHT 9
WRIST_RIGHT 10
HAND_RIGHT 11
HIP_LEFT 12
KNEE_LEFT 13
ANKLE_LEFT 14
FOOT_LEFT 15
HIP_RIGHT 16
KNEE_RIGHT 17
ANKLE_RIGHT 18
FOOT_RIGHT 19
SPINE_SHOULDER 20
HAND_TIP_LEFT 21
THUMB_LEFT 22
HAND_TIP_RIGHT 23
THUMB_RIGHT 24

License

This software is released under the Apache-2.0 License.

Links