Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

AVPro With OpenCV for Unity Example

Overview

  • Integrate AVPro Video and AVPro Live Camera with OpenCV for Unity.
  • Convert AVPro Video and AVPro Live Camera textures to OpenCV's Mat class using AsyncGPUReadback.
  • Example scenes:
    • AVProVideoGetReadableTextureExample
    • AVProVideoAsyncGPUReadbackToMatHelperExample
    • AVProVideoExtractFrameExample
    • AVProLiveCameraGetFrameAsColor32Example
    • AVProLiveCameraAsyncGPUReadbackToMatHelperExample

Environment

Setup

  1. Download the latest release unitypackage from AVProWithOpenCVForUnityExample.unitypackage.
  2. Create a new project. (ex. AVProWithOpenCVForUnityExample)
  3. Import OpenCV for Unity from the Asset Store.
  4. Import UnityPlugin-AVProVideo-vX.X.X-Trial.unitypackage.
  5. Import UnityPlugin-AVProLiveCamera-vX.X.X-Trial.unitypackage.
  6. Import AVProWithOpenCVForUnityExample.unitypackage.
  7. Add all of the ***.unity files in the AVProWithOpenCVForUnityExample folder to Build Settings → Scenes In Build.
  8. Build and Deploy.

ScreenShot

screenshot.png

About

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

Topics

Resources

Stars

15 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages