SkillAgentSearch skills...

YOLOv5WithOpenCVForUnityExample

An example of using OpenCV dnn module with YOLOv5, YOLOv6 and YOLOv7. (ObjectDetection, Segmentation, Classification)

Install / Use

/learn @EnoxSoftware/YOLOv5WithOpenCVForUnityExample
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

YOLOv5 With OpenCVForUnity Example

YOLOv5_output_shapes.png

Environment

  • Windows / Mac / Linux / WebGL / Android / iOS
  • Unity >= 2021.3.35f1+
  • Scripting backend MONO / IL2CPP
  • OpenCV for Unity 3.0.0+

Setup

  1. Download the latest release unitypackage. YOLOv5WithOpenCVForUnityExample.unitypackage
  2. Create a new project. (YOLOv5WithOpenCVForUnityExample)
  3. Import OpenCVForUnity.
  4. Import the YOLOv5WithOpenCVForUnityExample.unitypackage.
  5. Add the "Assets/YOLOv5WithOpenCVForUnityExample/*.unity" files to the "Scenes In Build" list in the "Build Settings" window.
  6. Build and Deploy.

Training from custom data and export to ONNX

  1. YOLOv5_export_to_OpenCVDNN_ONNX
  2. YOLOv5_segment_export_to_OpenCVDNN_ONNX
  3. YOLOv5_classify_export_to_OpenCVDNN_ONNX
  4. YOLOv6_export_to_OpenCVDNN_ONNX
  5. YOLOv7_export_to_OpenCVDNN_ONNX

Tutorials

  1. How to Train YOLO v5 on a Custom Dataset
  2. Example of custom training for dice roll detection

Works with Multi-Object Tracking (MOT)

  1. MultiObjectTrackingExample

ScreenShot

screenshot01.jpg screenshot02.jpg screenshot03.jpg

View on GitHub
GitHub Stars16
CategoryDevelopment
Updated2mo ago
Forks3

Languages

Jupyter Notebook

Security Score

95/100

Audited on Jan 26, 2026

No findings