void Start() { opencvInterfaceInstance = OpenCVInterface.Instance; if (!opencvInterfaceInstance.copyFeedsData) { Destroy(this); } InitializeFeeds(); }
void Start() { var x = InitializeTracking(0, 600, true); Debug.Log("OpenCV initialized: " + x.ToString()); if (copyFeedsData) { InitializeStorageForFeeds(); } instance = this; }
void OnApplicationQuit() { Close(); instance = null; }