Fixed build

This commit is contained in:
Supaaah1
2023-03-12 22:36:32 +01:00
parent d07bcf29ca
commit 0812f603af

View File

@@ -105,7 +105,8 @@ namespace Mediapipe.Unity.Tutorial
_inputTexture = new Texture2D(_width, _height, TextureFormat.RGBA32, false);
_pixelData = new Color32[_width * _height];
_resourceManager = new LocalResourceManager();
//_resourceManager = new LocalResourceManager();
_resourceManager = new StreamingAssetsResourceManager();
yield return _resourceManager.PrepareAssetAsync("pose_detection.bytes");
yield return _resourceManager.PrepareAssetAsync("pose_landmark_full.bytes");
yield return _resourceManager.PrepareAssetAsync("face_landmark.bytes");