CVMetalTextureCacheCreateTextureFromImage
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
Hello and thank you for your feedback.
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.
Thank you very much for your work!
Hi judax,
Thanks for the response. Just created a new pull request with my contribution. Hope it helps. Is this project dying ?
Thanks,
Diego
Thanks for the PR. I will comment on it.
This project is not dying but it was built as a prototype and it requires a significant update. That is what we are working on.
Is this project dying ?
Well, it's dead now. Google has a habit of killing projects, for example Swift for TensorFlow.