// Use this for initialization
        void Start()
        {
            if (DOWNSCALE_RATIO < 1)
            {
                DOWNSCALE_RATIO = 1;
            }

            webCamTextureToMatHelper = gameObject.GetComponent <WebCamTextureToMatHelper> ();
            webCamTextureToMatHelper.Init();
        }
        // Use this for initialization
        void Start()
        {
            if (downscaleRatio < 1)
            {
                downscaleRatio = 1;
            }

            displayCameraPreviewToggle.isOn = displayCameraPreview;

            webCamTextureToMatHelper = gameObject.GetComponent <WebCamTextureToMatHelper> ();
            webCamTextureToMatHelper.Initialize();
        }