YOLOv8WithOpenCVForUnityExample
An example of using OpenCV dnn module with YOLOv8, YOLOv5u, YOLOv9, YOLOv11, YOLOv12. (ObjectDetection, Segmentation, Classification, PoseEstimation)
Install / Use
/learn @EnoxSoftware/YOLOv8WithOpenCVForUnityExampleREADME
YOLOv8 With OpenCVForUnity Example
- An example of using OpenCV dnn module with YOLOv8. https://docs.ultralytics.com/models/yolov8/
- This example can also work for YOLOv5u, YOLOv9, ~~YOLOv10~~, YOLOv11, YOLOv12 models, which has the same input/output shapes as the YOLOv8 model.

Environment
- Windows / Mac / Linux / WebGL / Android / iOS
- Unity >= 2021.3.35f1+
- Scripting backend MONO / IL2CPP
- OpenCV for Unity 3.0.0+
Setup
- Download the latest release unitypackage. YOLOv8WithOpenCVForUnityExample.unitypackage
- Create a new project. (YOLOv8WithOpenCVForUnityExample)
- Import OpenCVForUnity.
- Import the YOLOv8WithOpenCVForUnityExample.unitypackage.
- Add the "Assets/YOLOv8WithOpenCVForUnityExample/*.unity" files to the "Scenes In Build" list in the "Build Settings" window.
- Build and Deploy.
Training from custom data and export to ONNX
- YOLOv8_export_to_OpenCVDNN_ONNX
- YOLOv5u_export_to_OpenCVDNN_ONNX
- YOLOv9_export_to_OpenCVDNN_ONNX
- YOLOv10_export_to_OpenCVDNN_ONNX
- YOLOv11_export_to_OpenCVDNN_ONNX
- YOLOv12_export_to_OpenCVDNN_ONNX
Tutorials
Works with Multi-Object Tracking (MOT)
ScreenShot

Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
