Stages in the Calibration Process

Before we get into the nitty-gritty of code, I want to give you an overall picture of how calibration works (Figure 4-1). The diagram shows the flow of callbacks triggered by OpenNI and the actions that we have to take within them to continue the calibration process. I’ll briefly explain the complete picture and then we’ll dive into the actual code within our sketch to see how the whole system works in practice.

Flow of OpenNI actions and callbacks needed to initiate joint tracking.

Figure 4-1. Flow of OpenNI actions and callbacks needed to initiate joint tracking.

Calibration is a back-and-forth process between our sketch and OpenNI. At each step, OpenNI will trigger one of our callback ...

Get Making Things See now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.