Skip to content

This example shows how to convert AVProVideo and AVProLiveCamera texture to OpenCV Mat using AsyncGPUReadback.

Notifications You must be signed in to change notification settings

EnoxSoftware/AVProWithOpenCVForUnityExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

AVPro With OpenCV for Unity Example

Overview

This example shows how to convert AVProVideo and AVProLiveCamera texture to OpenCV Mat using AsyncGPUReadback.

  • AVProVideoGetReadableTextureExample
  • AVProVideoAsyncGPUReadbackExample
  • AVProVideoExtractFrameExample
  • AVProLiveCameraGetFrameAsColor32Example
  • AVProLiveCameraAsyncGPUReadbackExample

Environment

Setup

  1. Download the latest release unitypackage. AVProWithOpenCVForUnityExample.unitypackage
  2. Create New Project. (AVProWithOpenCVForUnityExample)
  3. Import OpenCVForUnity from AssetStore
  4. Import UnityPlugin-AVProVideo-Latest-Trial.unitypackage
  5. Import UnityPlugin-AVProLiveCamera-Latest-Trial.unitypackage
  6. Import AVProWithOpenCVForUnityExample.unitypackage
  7. Add the "Assets/AVProWithOpenCVForUnityExample/*.unity" files to the "Scenes In Build" list in the "Build Settings" window.
  8. Build and Deploy.

Screen Shot

ScreenShot.PNG

About

This example shows how to convert AVProVideo and AVProLiveCamera texture to OpenCV Mat using AsyncGPUReadback.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages