{"id":19119723,"url":"https://github.com/enoxsoftware/magicleapwithopencvforunityexample","last_synced_at":"2025-09-10T08:42:03.347Z","repository":{"id":81994328,"uuid":"168360053","full_name":"EnoxSoftware/MagicLeapWithOpenCVForUnityExample","owner":"EnoxSoftware","description":"MagicLeap with OpenCVforUnity Example","archived":false,"fork":false,"pushed_at":"2022-02-22T16:29:17.000Z","size":3545,"stargazers_count":21,"open_issues_count":9,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-05T15:09:52.252Z","etag":null,"topics":["magicleap","opencv","unity"],"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":"2019-01-30T14:52:06.000Z","updated_at":"2025-03-19T14:49:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad6d78da-3ebd-4f88-b0a7-a78c527414b6","html_url":"https://github.com/EnoxSoftware/MagicLeapWithOpenCVForUnityExample","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/EnoxSoftware/MagicLeapWithOpenCVForUnityExample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnoxSoftware%2FMagicLeapWithOpenCVForUnityExample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnoxSoftware%2FMagicLeapWithOpenCVForUnityExample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnoxSoftware%2FMagicLeapWithOpenCVForUnityExample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnoxSoftware%2FMagicLeapWithOpenCVForUnityExample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EnoxSoftware","download_url":"https://codeload.github.com/EnoxSoftware/MagicLeapWithOpenCVForUnityExample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnoxSoftware%2FMagicLeapWithOpenCVForUnityExample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274433890,"owners_count":25284428,"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","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["magicleap","opencv","unity"],"created_at":"2024-11-09T05:10:49.648Z","updated_at":"2025-09-10T08:42:03.297Z","avatar_url":"https://github.com/EnoxSoftware.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MagicLeap With OpenCVForUnity Example\r\n\r\n\r\n## Environment\r\n* MagicLeapOne Lumin OS 0.98.30\r\n* Lumin SDK 0.26\r\n* Unity 2020.3.29f1 (64-bit)  \r\n* [OpenCV for Unity](https://assetstore.unity.com/packages/tools/integration/opencv-for-unity-21088?aid=1011l4ehR) 2.4.7+ \r\n\r\n\r\n## Setup\r\n1. Download the latest release unitypackage. [MagicLeapWithOpenCVForUnityExample.unitypackage](https://github.com/EnoxSoftware/MagicLeapWithOpenCVForUnityExample/releases)\r\n1. Create a new project. (MagicLeapWithOpenCVForUnityExample) and [setup UnityProject](https://developer.magicleap.com/en-us/learn/guides/import-the-magic-leap-unity-package).\r\n    * Import the Magic Leap SDK for Unity asset from the [Unity Asset Store](https://assetstore.unity.com/packages/tools/integration/magic-leap-sdk-for-unity-194780).\r\n    ![magicleap_sdk_for_unity.png](magicleap_sdk_for_unity.png)\r\n    * Setup MagicLeap PROJECT SETUP TOOL.\r\n    ![project_setup_tool.png](project_setup_tool.png)\r\n    * Copy [the \"MagicLeap\" folder](https://github.com/magicleap/MagicLeapUnityExamples/tree/main/Assets) to your project.\r\n1. Import the OpenCVForUnity.\r\n    * Setup the OpenCVForUnity. (Tools \u003e OpenCV for Unity \u003e Set Plugin Import Settings)\r\n    * Move the \"OpenCVForUnity/StreamingAssets/\" folder to the \"Assets/\" folder.\r\n    * Downlod https://raw.githubusercontent.com/pjreddie/darknet/master/cfg/yolov3-tiny.cfg. Copy yolov3-tiny.cfg to \"Assets/StreamingAssets/dnn/\" folder. Downlod  https://pjreddie.com/media/files/yolov3-tiny.weights. Copy yolov3-tiny.weights to \"Assets/StreamingAssets/dnn/\" folder. Downlod  https://github.com/pjreddie/darknet/tree/master/data/coco.names. Copy coco.names to \"Assets/StreamingAssets/dnn/\" folder.     \r\n1. Import the MagicLeapWithOpenCVForUnityExample.unitypackage.\r\n   ![setup.PNG](setup.PNG)\r\n1. Add the \"Assets/MagicLeapWithOpenCVForUnityExample/*.unity\" files to the \"Scenes In Build\" list in the \"Build Settings\" window.\r\n1. Check CameraCapture and ComputerVision checkbox in Publishing Settings.\r\n   ![manifest_settings.PNG](manifest_settings.PNG)\r\n1. Build and Deploy to MagicLeap.\r\n\r\n\r\n## ScreenShot\r\n![dnn_imagecapture_example.jpg](dnn_imagecapture_example.jpg) \r\n![facedetection_rawvideocapture_example.jpg](facedetection_rawvideocapture_example.jpg)\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenoxsoftware%2Fmagicleapwithopencvforunityexample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenoxsoftware%2Fmagicleapwithopencvforunityexample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenoxsoftware%2Fmagicleapwithopencvforunityexample/lists"}