https://github.com/enoxsoftware/nreallightwithdlibfacelandmarkdetectorexample
An example of a Nreal Light MR app by using NRSDK and DlibLandmarkDetector.
https://github.com/enoxsoftware/nreallightwithdlibfacelandmarkdetectorexample
dlib mixed-reality mr nreal nreal-light opencv unity
Last synced: about 1 year ago
JSON representation
An example of a Nreal Light MR app by using NRSDK and DlibLandmarkDetector.
- Host: GitHub
- URL: https://github.com/enoxsoftware/nreallightwithdlibfacelandmarkdetectorexample
- Owner: EnoxSoftware
- Created: 2022-09-23T10:23:58.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-12-11T16:48:44.000Z (over 1 year ago)
- Last Synced: 2025-03-30T21:51:15.400Z (about 1 year ago)
- Topics: dlib, mixed-reality, mr, nreal, nreal-light, opencv, unity
- Language: C#
- Homepage:
- Size: 1.18 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NrealLight (XREAL Light) With DlibFaceLandmarkDetector Example
## Demo Video
[](https://youtu.be/4eEFfsPOF_0)
## Demo NrealLight App
* [NrealLightWithDlibFaceLandmarkDetectorExample.apk](https://github.com/EnoxSoftware/NrealLightWithDlibFaceLandmarkDetectorExample/releases)
## Environment
* Android (Galaxy S10+ SC-04L)
* Nebula 3.8.1
* Nreal Light (XREAL Light)
* Unity 2021.3.35f1+ (NRSDK supports the development environment of Unity 2019.4.X and above)
* [NRSDK](https://docs.xreal.com/Release%20Note/NRSDK%202.1.0) NRSDKForUnity 2.1.0
* [OpenCV for Unity](https://assetstore.unity.com/packages/tools/integration/opencv-for-unity-21088?aid=1011l4ehR) 2.6.4+
* [Dlib FaceLandmarkDetector](https://assetstore.unity.com/packages/tools/integration/dlib-facelandmark-detector-64314?aid=1011l4ehR) 1.4.1+
## Setup
1. Download the latest release unitypackage. [NrealLightWithDlibFaceLandmarkDetectorExample.unitypackage](https://github.com/EnoxSoftware/NrealLightWithDlibFaceLandmarkDetectorExample/releases)
1. Create a new project. (NrealLightWithDlibFaceLandmarkDetectorExample)
* Change the platform to Android in the "Build Settings" window.
1. Import the OpenCVForUnity.
* Select MenuItem[Tools/OpenCV for Unity/Open Setup Tools].
* Click the [Move StreamingAssets Folder] button.
* Leave the following files and delete the rest. ("StreamingAssets/OpenCVForUnity/objdetect/haarcascade_frontalface_alt.xml", "lbpcascade_ frontalface.xml")
1. Import the DlibFaceLandmarkDetector.
* Select MenuItem[Tools/Dlib FaceLandmark Detector/Open Setup Tools].
* Click the [Move StreamingAssets Folder] button.
* Leave the following files and delete the rest. ("StreamingAssets/DlibFaceLandmarkDetector/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")
1. Import the NRSDK.
* Download the latest release NRSDK unitypackage. [NRSDKForUnityAndroid_x.xx.x.unitypackage](https://developer.xreal.com/download)
* Setup the NRSDK. (See [Getting Started with NRSDK](https://docs.xreal.com/Getting%20Started%20with%20NRSDK))
1. Import the NrealLightWithDlibFaceLandmarkDetectorExample.unitypackage.
1. Add the "Assets/NrealLightWithDlibFaceLandmarkDetectorExample/*.unity" files to the "Scenes In Build" list in the "Build Settings" window.
1. Build and Deploy to Android device. (See [8. Building NRSDK App for Android](https://docs.xreal.com/Getting%20Started%20with%20NRSDK#8-building-nrsdk-app-for-android))
|Project Assets|Build Settings|
|---|---|
|||
## ScreenShot


