Defining the sensor objects is as simple as defining other class objects. The defined
object will come into action only when you initialize for a specific Kinect operation,
such as color image streaming and depth image streaming. We can define a Kinect
sensor object using the following code snippet: