public void StopLiveTracking() { Logger.Info("Stopping live tracking..."); FacePlus.StopTracking(); Live = false; FacePlus.Teardown(); }
void OnDisable() { Logger.Debug("Disabling. Stopping tracking..."); FacePlus.StopTracking(); // stop the tracking thread FacePlus.Teardown(); // relinquish control of the camera }