// Update is called once per frame
    void Update()
    {
        // Update the sensor and underlying
        IHandTracker.updateSensor();
        IHandTracker.updateProcessor();
        IHandTracker.updateHandTracker();

        // Now try and get the current depth frame
        bool success = IHandTracker.QueryCurrentContourFrame();

        if (success)
        {
            // If we have a frame, set the texture map to the frame data and display it
            GetComponent <Renderer>().material.mainTexture = cameraFrame;
            cameraFrame.SetPixels(IHandTracker.currentContourFrame);
            cameraFrame.Apply();
        }
    }