This example shows how to convert AVProVideo and AVProLiveCamera texture to OpenCV Mat using AsyncGPUReadback.
- AVProVideoGetReadableTextureExample
- AVProVideoAsyncGPUReadbackExample
- AVProVideoExtractFrameExample
- AVProLiveCameraGetFrameAsColor32Example
- AVProLiveCameraAsyncGPUReadbackExample
- Unity 2020.3.48f1+ OpenCVForUnity 2.5.9+ UnityPlugin-AVProVideo 2.9.3+ (Latest-Trial) UnityPlugin-AVProLiveCamera 2.9.3+ (Latest-Trial)
- Download the latest release unitypackage. AVProWithOpenCVForUnityExample.unitypackage
- Create New Project. (AVProWithOpenCVForUnityExample)
- Import OpenCVForUnity from AssetStore
- Import UnityPlugin-AVProVideo-Latest-Trial.unitypackage
- Import UnityPlugin-AVProLiveCamera-Latest-Trial.unitypackage
- Import AVProWithOpenCVForUnityExample.unitypackage
- Add the "Assets/AVProWithOpenCVForUnityExample/*.unity" files to the "Scenes In Build" list in the "Build Settings" window.
- Build and Deploy.