Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 666 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 666 Bytes

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)
        }
    }
}