Skip to content

EnoxSoftware/MagicLeapWithOpenCVForUnityExample

Repository files navigation

MagicLeap With OpenCVForUnity Example

Environment

  • MagicLeapOne Lumin OS 0.98.30
  • Lumin SDK 0.26
  • Unity 2020.3.29f1 (64-bit)
  • OpenCV for Unity 2.4.7+

Setup

  1. Download the latest release unitypackage. MagicLeapWithOpenCVForUnityExample.unitypackage
  2. Create a new project. (MagicLeapWithOpenCVForUnityExample) and setup UnityProject.
  3. Import the OpenCVForUnity.
  4. Import the MagicLeapWithOpenCVForUnityExample.unitypackage. setup.PNG
  5. Add the "Assets/MagicLeapWithOpenCVForUnityExample/*.unity" files to the "Scenes In Build" list in the "Build Settings" window.
  6. Check CameraCapture and ComputerVision checkbox in Publishing Settings. manifest_settings.PNG
  7. Build and Deploy to MagicLeap.

ScreenShot

dnn_imagecapture_example.jpg facedetection_rawvideocapture_example.jpg