public void Dispose() { detector.Dispose(); landmarker.Dispose(); letterboxTexture.Release(); croppedTexture.Release(); poseRegionBuffer.Dispose(); deltaOutputBuffer.Dispose(); deltaOutputWorldBuffer.Dispose(); outputBuffer.Dispose(); outputWorldBuffer?.Dispose(); }
private void OnDestroy() { landMarker.Dispose(); }