Skip to content

Latest commit

 

History

History

orx-kinect-v1

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

orx-kinect-v1

Support for the Kinect V1 RGB and depth cameras.

If using Linux, add the udev rules to be able to access the camera without being a root user.

Example usage

fun main() = application {
    configure {
        fullscreen = Fullscreen.CURRENT_DISPLAY_MODE
    }
    program {
        val kinects = getKinectsV1()
        val kinect = kinects.startDevice()
        kinect.depthCamera.enabled = true
        kinect.depthCamera.mirror = true
        extend(kinect)
        extend {
            drawer.image(kinect.depthCamera.currentFrame)
        }
    }
}