Slide 36
Slide 36 text
Adding a Script to Draw Point Cloud
void InitKinect()
{
device = Device.Open(0); //OpenKinect
device.StartCameras(new DeviceConfiguration
{
ColorFormat = ImageFormat.ColorBGRA32,
ColorResolution = ColorResolution.R720p,
DepthMode = DepthMode.NFOV_Unbinned,
SynchronizedImagesOnly = true,
CameraFPS = FPS.FPS30,
});
}
void OnDestroy() //Stop Kinect
{
device.StopCameras();
}