Skip to content

EnoxSoftware/MagicLeapWithDlibFaceLandmarkDetectorExample

Repository files navigation

MagicLeap With DlibFaceLandmarkDetector Example

Environment

Setup

  1. Download the latest release unitypackage. MagicLeapWithDlibFaceLandmarkDetectorExample.unitypackage
  2. Create a new project. (MagicLeapWithDlibFaceLandmarkDetectorExample) and setup UnityProject.
  3. Import the OpenCVForUnity.
    • Setup the OpenCVForUnity. (Tools > OpenCV for Unity > Set Plugin Import Settings)
  4. Import the DlibFaceLandmarkDetector.
    • Setup the DlibFaceLandmarkDetector. (Tools > Dlib FaceLandmarkDetector > Set Plugin Import Settings)
    • Move the "DlibFaceLandmarkDetector/StreamingAssets/" folder to the "Assets/" folder.
  5. Import the MagicLeapWithDlibFaceLandmarkDetectorExample.unitypackage. setup.PNG
  6. Add the "Assets/MagicLeapWithDlibFaceLandmarkDetectorExample/*.unity" files to the "Scenes In Build" list in the "Build Settings" window.
  7. Check CameraCapture and ComputerVision checkbox in Publishing Settings. manifest_settings.PNG
  8. Build and Deploy to MagicLeap.

ScreenShot

magicleap_dlib.jpg