1
0
Форкнуть 0
An example of a Nreal Light MR app by using NRSDK and DlibLandmarkDetector.
Перейти к файлу
surface f314a97a96 v1.0.0 2022-09-23 19:24:38 +09:00
Assets v1.0.0 2022-09-23 19:24:38 +09:00
BuildSettings.jpg v1.0.0 2022-09-23 19:24:38 +09:00
ProjectAssets.jpg v1.0.0 2022-09-23 19:24:38 +09:00
README.md v1.0.0 2022-09-23 19:24:38 +09:00
screenshot01.jpg v1.0.0 2022-09-23 19:24:38 +09:00
screenshot02.jpg v1.0.0 2022-09-23 19:24:38 +09:00
screenshot03.jpg v1.0.0 2022-09-23 19:24:38 +09:00

README.md

NrealLight With DlibFaceLandmarkDetector Example

Demo Video

Demo Hololens App

Environment

Setup

  1. Download the latest release unitypackage. NrealLightWithDlibFaceLandmarkDetectorExample.unitypackage
  2. Create a new project. (NrealLightWithDlibFaceLandmarkDetectorExample)
    • Change the platform to Android in the "Build Settings" window.
  3. Import the OpenCVForUnity.
    • Setup the OpenCVForUnity. (Tools > OpenCV for Unity > Set Plugin Import Settings)
    • Move the "OpenCVForUnity/StreamingAssets/objdetect" folder to the "Assets/StreamingAssets/" folder.
  4. Import the DlibFaceLandmarkDetector.
    • Setup the DlibFaceLandmarkDetector. (Tools > Dlib FaceLandmarkDetector > Set Plugin Import Settings)
    • Move the "DlibFaceLandmarkDetector/StreamingAssets/sp_human_face_68.dat", "sp_human_face_68_for_mobile.dat", "sp_human_face_17.dat", "sp_human_face_17_for_mobile.dat" and "sp_human_face_6.dat" files to the "Assets/StreamingAssets/" folder.
  5. Import the NRSDK.
  6. Import the NrealLightWithDlibFaceLandmarkDetectorExample.unitypackage.
  7. Add the "Assets/NrealLightWithDlibFaceLandmarkDetectorExample/*.unity" files to the "Scenes In Build" list in the "Build Settings" window.
  8. Build and Deploy to Android device. (See 8. Deploy to Nreal Device)
Project Assets Build Settings
ProjectAssets.jpg BuildSettings.jpg

ScreenShot

screenshot01.jpg

screenshot02.jpg

screenshot03.jpg