issues
search
EnoxSoftware
/
YOLOv8WithOpenCVForUnityExample
An example of using OpenCV dnn module with YOLOv8. (ObjectDetection, Segmentation, Classification, PoseEstimation)
16
stars
2
forks
source link
dnn
object-detection
opencv
unity
unity3d-plugin
yolo
yolov8n
readme
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 >= 2020.3.48f1+
Scripting backend MONO / IL2CPP
OpenCV for Unity
2.5.9+
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
YOLOv8_export_to_OpenCVDNN_ONNX.ipynb
Works with Multi-Object Tracking (MOT)
MultiObjectTrackingExample
ScreenShot
Tutorials
How to Train Ultralytics YOLOv8 models on Your Custom Dataset in Google Colab