{"id":19119707,"url":"https://github.com/enoxsoftware/nreallightwithopencvforunityexample","last_synced_at":"2025-05-05T14:42:40.811Z","repository":{"id":81994346,"uuid":"540386208","full_name":"EnoxSoftware/NrealLightWithOpenCVForUnityExample","owner":"EnoxSoftware","description":"An example of a Nreal Light (XREAL Light) MR app by using NRSDK and OpenCVForUnity.","archived":false,"fork":false,"pushed_at":"2024-12-11T16:48:33.000Z","size":2832,"stargazers_count":23,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T21:51:15.709Z","etag":null,"topics":["mixed-reality","mr","nreal","nreal-light","opencv","unity","xreal"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EnoxSoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-23T10:20:26.000Z","updated_at":"2025-03-07T10:21:06.000Z","dependencies_parsed_at":"2024-12-11T17:30:07.328Z","dependency_job_id":"f9af283c-b7ff-42b3-bb65-8b7d71383b00","html_url":"https://github.com/EnoxSoftware/NrealLightWithOpenCVForUnityExample","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnoxSoftware%2FNrealLightWithOpenCVForUnityExample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnoxSoftware%2FNrealLightWithOpenCVForUnityExample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnoxSoftware%2FNrealLightWithOpenCVForUnityExample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnoxSoftware%2FNrealLightWithOpenCVForUnityExample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EnoxSoftware","download_url":"https://codeload.github.com/EnoxSoftware/NrealLightWithOpenCVForUnityExample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252516236,"owners_count":21760746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mixed-reality","mr","nreal","nreal-light","opencv","unity","xreal"],"created_at":"2024-11-09T05:10:47.403Z","updated_at":"2025-05-05T14:42:40.787Z","avatar_url":"https://github.com/EnoxSoftware.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NrealLight (XREAL Light) With OpenCVForUnity Example\r\n\r\n\r\n## Demo Video\r\n[![](http://img.youtube.com/vi/8e_IjCBkpwQ/0.jpg)](https://youtu.be/8e_IjCBkpwQ)\r\n\r\n\r\n## Demo NrealLight App\r\n* [NrealLightWithOpenCVForUnityExample.apk](https://github.com/EnoxSoftware/NrealLightWithOpenCVForUnityExample/releases)\r\n\r\n\r\n## Environment\r\n* Android (Galaxy S10+ SC-04L)\r\n* Nebula 3.8.1\r\n* Nreal Light (XREAL Light)\r\n* Unity 2021.3.35f1+ (NRSDK supports the development environment of Unity 2019.4.X and above)\r\n* [NRSDK](https://docs.xreal.com/Release%20Note/NRSDK%202.1.0) NRSDKForUnity 2.1.0 \r\n* [OpenCV for Unity](https://assetstore.unity.com/packages/tools/integration/opencv-for-unity-21088?aid=1011l4ehR) 2.6.4+ \r\n\r\n\r\n## Setup\r\n1. Download the latest release unitypackage. [NrealLightWithOpenCVForUnityExample.unitypackage](https://github.com/EnoxSoftware/NrealLightWithOpenCVForUnityExample/releases)\r\n1. Create a new project. (NrealLightWithOpenCVForUnityExample)\r\n    * Change the platform to Android in the \"Build Settings\" window.\r\n1. Import the OpenCVForUnity.\r\n    * Select MenuItem[Tools/OpenCV for Unity/Open Setup Tools].\r\n    * Click the [Open Example Assets Downloader] button.\r\n    * Download files for examples ( HumanSegmentationExample, ObjectDetectionYolov4Example and FaceDetectionYNWebCamExample ) using the dnn, objdetect module.\r\n    * Click the [Move StreamingAssets Folder] button.\r\n    * Leave the following files and delete the rest. (\"StreamingAssets/OpenCVForUnity/objdetect/haarcascade_frontalface_alt.xml\", \"lbpcascade_ frontalface.xml\", \"face_detection_yunet_2023mar.onnx\",\"StreamingAssets/OpenCVForUnity/dnn/coco.names\",\"yolov4-tiny.cfg\",\"yolov4-tiny.weights\",\"human_segmentation_pphumanseg_2023mar.onnx\")\r\n1. Import the NRSDK.\r\n    * Download the latest release NRSDK unitypackage. [NRSDKForUnityAndroid_x.xx.x.unitypackage](https://developer.xreal.com/download)\r\n    * Setup the NRSDK. (See [Getting Started with NRSDK](https://docs.xreal.com/Getting%20Started%20with%20NRSDK))\r\n1. Import the NrealLightWithOpenCVForUnityExample.unitypackage.\r\n1. Add the \"Assets/NrealLightWithOpenCVForUnityExample/*.unity\" files to the \"Scenes In Build\" list in the \"Build Settings\" window.\r\n1. 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))\r\n    *  (Print the AR marker \"CanonicalMarker-d10-i1-sp500-bb1.pdf\" on an A4 size paper)\r\n\r\n\r\n|SetupTools_AssetsDownloader|Project Assets|Build Settings|\r\n|---|---|\r\n|![SetupTools_AssetsDownloader.jpg](SetupTools_AssetsDownloader.jpg)|![ProjectAssets.jpg](ProjectAssets.jpg)|![BuildSettings.jpg](BuildSettings.jpg)|\r\n\r\n\r\n## ScreenShot\r\n![screenshot01.jpg](screenshot01.jpg)\r\n\r\n![screenshot02.jpg](screenshot02.jpg)\r\n\r\n![screenshot03.jpg](screenshot03.jpg)\r\n\r\n![screenshot04.jpg](screenshot04.jpg)\r\n\r\n![screenshot05.jpg](screenshot05.jpg)\r\n\r\n![screenshot05.jpg](screenshot06.jpg)\r\n\r\n![screenshot05.jpg](screenshot07.jpg)\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenoxsoftware%2Fnreallightwithopencvforunityexample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenoxsoftware%2Fnreallightwithopencvforunityexample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenoxsoftware%2Fnreallightwithopencvforunityexample/lists"}