Tutorials

We have written tutorials for all the samples we provide (you can get them in the Downloads section) so you don't miss a thing. We're sure that you'll be able to quickly start developing on your own afterwards. We strongly advise you to read the tutorials in order because we will dig deeper from one tutorial to the next so we don't have to repeat the basics in each one.

The examples have been done in Open Frameworks, but it's really easy to port them to other graphics engines.

The basics about ViiM  Simple Viewer - Create your first program. Learn the basic to get ViiM working and see color and depth images from the 3D sensor. Smooth Viewer - Enable smooth on the depth image and understand what it implies inside ViiM's structure and CPU performance. Device Handler - Communicate directly with the device. Turn it on, off, pause it and resume it. Events - Learn about ViiM's events. We demonstrate a few events, but along the tutorials you will find many more examples. Working with the processing units Unit Process - Theoretical tutorial. Here we introduce units and describe the the unit base for all the other units. Optical Flow - Learn how to use and display the computed optical flow image. Here you can learn how to change the process proprieties during run time as well. User Tracking - Learn how to obtain and manipulate information regarding users. User related events are also demonstrated here.  Cropping - In this tutorial we show you how to use the cropping unit. With this tool, the user standing in front of the 3D sensor is cropped from the background.</li> Simple Gestures - First of three gesture samples. Detect simple hand gestures such as open, close, directional swipes, waving and move.</li> Composed Gestures - Second of three gesture samples. Detect composed gestures (combination of simple gestures), such as enter, backspace, drag, click and double click.</li> Hand Interaction - Third gesture sample. This tutorial gathers everything from the two above and adds the progress events and graphical elements. </li> Multiple Hands Gestures - Last gesture sample. This tutorial allows the use of two hands and recognizes both hands gestures.</li> Skeleton Tracking - Learn how to use this unit to track a human in front of a camera by identifying parts of the human body and draw a "skeleton" with the user's joints position.</li> Stickman - Second sample using the skeleton tracking unit. This tutorial uses the joint's rotation matrix to draw a 3D stickman. Useful for avatar control.</li></ol> More advanced tutorials Video Exporter - Export several types of image sequences to a binary file and open the video in Matlab with our script.</li> Create your own processing units - Learn the steps needed to create your own processing unit and to link it with ViiM. </li> </ol>