Results 14 comments of Paxios

Sorry for a late response, I was trying to implement your comment. ### GpuBuffer In the Estimator class, I added 2 logs, so it's visible which part of the code...

`textureFrame.ReadTextureFromOnGPU(texture);` returns `true`. I haven't yet tried the app on newer iOS devices, so it's possible that Metal support for this won't be possible as you said 😄.

Do you maybe have/use some community channel like discord group?

Settings are shown below, should I maybe set any of the ES version to be required? I will experiment with WebCamTexture's format and gles context.

By the way, TextureFormat of the camera is "R8G8B8A8_UNorm". So I guess this could be the problem, since it's RGBA32 instead of ARGB32? Also a note, that `ReadTextureFromOnCPU` doesn't work...

Hey there once more, I looked into the code more deeply than before and I can't find the usage of `ReadTextureFromOnGPU` in the sample app. Is it because of the...

> > I would very much appreciate it, if you could please verify that ReadTextureFromOnGPU works on your side. > > I confirmed (see [#768 (comment)](https://github.com/homuler/MediaPipeUnityPlugin/issues/768#issuecomment-1279975261)). Mind if I ask...

Sorry for a late response. ``` textureFrame.ReadTextureFromOnGPU(texture); texture2DToDisplay.SetPixels32(textureFrame.GetPixels32()); texture2DToDisplay.Apply(); RawImage.texture = texture2DToDisplay; ``` `texture` is `WebCamTexture`. This **does** actually display the correct image in the RawImage on the screen. The...

Hey, I just tried modifying your code as follows: ``` if (textureType == typeof(WebCamTexture)) { textureFrame.ReadTextureFromOnCPU((WebCamTexture)sourceTexture); if(textureFrame._texture != null) rawImage.texture = textureFrame._texture; } ``` This does show the camera preview...

Some additional information: I'm using Unity 2022.2.0 (as per your advice in https://github.com/homuler/MediaPipeUnityPlugin/issues/760). `ReadTextureFromOnGPU` uses `Graphics.CopyTexture`. I checked additional data in `ReadTextureFromOnGPU` srcFormat (WebCamTexure): R8G8B8A8_UNorm thisFormat (Texture2D): RGBA32 Width &...