{"id":19119691,"url":"https://github.com/enoxsoftware/videoplayerwithopencvforunityexample","last_synced_at":"2025-04-19T01:33:01.255Z","repository":{"id":81994395,"uuid":"89231095","full_name":"EnoxSoftware/VideoPlayerWithOpenCVForUnityExample","owner":"EnoxSoftware","description":"This example shows how to convert VideoPlayer texture to OpenCV Mat using AsyncGPUReadback.","archived":false,"fork":false,"pushed_at":"2024-04-24T11:18:05.000Z","size":386518,"stargazers_count":10,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-24T15:41:29.016Z","etag":null,"topics":["asyncgpureadback","opencv","untiy","video","video-player"],"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}},"created_at":"2017-04-24T11:12:53.000Z","updated_at":"2024-04-24T11:18:08.000Z","dependencies_parsed_at":"2024-04-24T12:52:53.464Z","dependency_job_id":null,"html_url":"https://github.com/EnoxSoftware/VideoPlayerWithOpenCVForUnityExample","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%2FVideoPlayerWithOpenCVForUnityExample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnoxSoftware%2FVideoPlayerWithOpenCVForUnityExample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnoxSoftware%2FVideoPlayerWithOpenCVForUnityExample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnoxSoftware%2FVideoPlayerWithOpenCVForUnityExample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EnoxSoftware","download_url":"https://codeload.github.com/EnoxSoftware/VideoPlayerWithOpenCVForUnityExample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223786713,"owners_count":17202603,"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":["asyncgpureadback","opencv","untiy","video","video-player"],"created_at":"2024-11-09T05:10:41.176Z","updated_at":"2024-11-09T05:10:41.715Z","avatar_url":"https://github.com/EnoxSoftware.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"VideoPlayer With OpenCVForUnity Example\r\n====================\r\n\r\nOverview\r\n-----\r\nThis example shows how to convert VideoPlayer texture to OpenCV Mat using AsyncGPUReadback.\r\n- VideoPlayerOnlyExample\r\n- VideoPlayerWithOpenCVForUnitySyncExample\r\n- VideoPlayerWithOpenCVForUnityAsyncExample\r\n- VideoPlayerToMatHelperExample\r\n- FaceDetectionYuNetV2Example\r\n- ObjectDetectionYOLOXExample\r\n- HandPoseEstimationMediaPipeExample\r\n- PoseEstimationMediaPipeExample\r\n- VideoCaptureTrackingExample\r\n- VideoPlayerTrackingExample\r\n\r\nEnvironment\r\n-----\r\n- Unity 2020.3.48f1+\r\n- [OpenCV for Unity](https://assetstore.unity.com/packages/tools/integration/opencv-for-unity-21088?aid=1011l4ehR) 2.5.9+\r\n\r\n\r\nDemo\r\n-----\r\n- WebGL (simd) \u003chttps://enoxsoftware.github.io/VideoPlayerWithOpenCVForUnityExample/webgl_example_simd/index.html\u003e\r\n- WebGL (simd, threads) \u003chttps://enoxsoftware.github.io/VideoPlayerWithOpenCVForUnityExample/webgl_example_simd_threads/index.html\u003e\r\n- Android \u003chttps://github.com/EnoxSoftware/VideoPlayerWithOpenCVForUnityExample/releases\u003e\r\n\r\n\r\nSetup\r\n-----\r\n1. Download the latest release unitypackage. [VideoPlayerWithOpenCVForUnityExample.unitypackage](https://github.com/EnoxSoftware/VideoPlayerWithOpenCVForUnityExample/releases)\r\n1. Create a new project. (VideoPlayerWithOpenCVForUnityExample)\r\n1. Import OpenCVForUnity.\r\n    * Select MenuItem[Tools/OpenCV for Unity/Open Setup Tools].\r\n    * Click the [Open Example Assets Downloader] button, then click the [FaceDetectionYuNetV2Example],[ObjectDetectionYOLOXExample],[HandPoseEstimationMediaPipeExample],[PoseEstimationMediaPipeExample],[TrackingExample] buttons.\r\n    * Click the [Move StreamingAssets Folder] button.\r\n    * [WebGL] Click the [Enable MultiThreads Support] button or the [Enable SIMD Support] button. Set [Project Settings]-[Other Settings]-[Color Space] to [Gamma].\r\n      ![SetupTools.png](SetupTools.png)\r\n      ![ExampleAssetsDownloader.png](ExampleAssetsDownloader.png)\r\n1. Import the VideoPlayerWithOpenCVForUnityExample.unitypackage.\r\n1. Add the \"Assets/VideoPlayerWithOpenCVForUnityExample/*.unity\" files to the \"Scenes In Build\" list in the \"Build Settings\" window.\r\n1. Build and Deploy.\r\n\r\n\r\nScreenShot\r\n-----\r\n![screenshot01.png](screenshot01.png) \r\n![screenshot02.png](screenshot02.png) \r\n![screenshot03.png](screenshot03.png) \r\n![screenshot04.png](screenshot04.png) \r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenoxsoftware%2Fvideoplayerwithopencvforunityexample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenoxsoftware%2Fvideoplayerwithopencvforunityexample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenoxsoftware%2Fvideoplayerwithopencvforunityexample/lists"}