Skip to content

WIP - node bindings to the kinect 2 via libfreenect2

Notifications You must be signed in to change notification settings

johncomposed/nbind-kinect2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nbind-kinect2

Install

First install libfreenect2 according to https://github.com/OpenKinect/libfreenect2 . Then run npm install.

Everything should build and link because of the postinstall script (how npm scripts work), but if not call npm run build -s.

Plans to match the webAR standard

The tricky bit is going to be the fact that the original WebAR standard overloads gl.texImage2D to work with VRSeeThroughCamera. In doing so they also do a bunch of funky stuff using non-standard OpenGl extensions in webgl.

Our VRSeeThroughCamera contains an additional method called createImageBitmap that creates an ImageBitmap that can be passed into gl.texImage2D normally. To keep the API otherwise the same, we're (hopefully) transparently monkeypatching gl.texImage2D to also accept a VRSeeThroughCamera and get the underlying ImageBitmap from it.

About

WIP - node bindings to the kinect 2 via libfreenect2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published