private void Start() { #if WINDOWS_UWP try { OpenCVUtils.CheckOpenCVWrapperHasLoaded(); } catch (Exception e) { Debug.LogError(e); gameObject.SetActive(false); return; } detector = new MarkerDetector(); detector.Initialize(); holoLensCapture.OnFrameCapture += ProcessImage; #endif }