YOLOv8WithOpenCVForUnityExample
YOLOv8WithOpenCVForUnityExample copied to clipboard
An example of using OpenCV dnn module with YOLOv8. (ObjectDetection, Segmentation, Classification, PoseEstimation)
YOLOv8 With OpenCVForUnity Example
- An example of using OpenCV dnn module with YOLOv8. https://github.com/ultralytics/ultralytics
Environment
- Windows / Mac / Linux / WebGL / Android / iOS
- Unity >= 2021.3.35f1+
- Scripting backend MONO / IL2CPP
- OpenCV for Unity 2.6.4+
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.
Export YOLOv8 model to ONNX
Works with Multi-Object Tracking (MOT)
ScreenShot