You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
Recently I pulled the code from the repository but the camera content was always showing as black.
After some attempts, I found out that the method CVMetalTextureCacheCreateTextureFromImage was returning -6661 because of the wrong datatype for the texture cache.
I solved the issue by creating a purely Metal texture cache and changing the call to:
We are not currently actively supporting this project as we are working on a replacement but please, feel free to send out a pull request and I will try to review it and if everything looks good even merge it.
HI all,
Recently I pulled the code from the repository but the camera content was always showing as black.
After some attempts, I found out that the method CVMetalTextureCacheCreateTextureFromImage was returning -6661 because of the wrong datatype for the texture cache.
I solved the issue by creating a purely Metal texture cache and changing the call to:
CVReturn status = CVMetalTextureCacheCreateTextureFromImage (NULL, _capturedMetalImageTextureCache, pixelBuffer, NULL, pixelFormat, width, height, planeIndex, &texture);
I would like to contribute with my code because this project is really amazing.
How could I do that ?
Thanks in advance,
Diego
The text was updated successfully, but these errors were encountered: