Buckets:
96.6 MB
15 files
Updated 3 months ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| data | 1 items | ||
| models | 8 items | ||
| .gitattributes | 1.65 kB xet | f57d8368 | |
| Border Texture.png | 658 Bytes xet | 9aa56b65 | |
| README.md | 1.37 kB xet | bf9254b8 | |
| RunYOLO.cs | 8.45 kB xet | 80812f0f | |
| info.json | 402 Bytes xet | 33ecae77 | |
| preview.jpg | 83.2 kB xet | 5c59b3da |
YOLOv8, YOLOv9, YOLO11, YOLO12 in Unity 6 using Inference Engine
YOLO is a real-time multi-object recognition model. Small and Nano model sizes are included for YOLO version 8 and above (except version 10 which uses NMS-free approach).
How to Use
- Create a new scene in Unity 6;
- Install
com.unity.ai.inferencefrom the package manager; - Add the
RunYOLO.csscript to the Main Camera; - Drag an appropriate
.onnxfile from themodelsfolder into theModel Assetfield; - Drag the
classes.txtfile into theClasses Assetfield; - Create a
GameObject > UI > Raw Imageobject in the scene, set its width and height to 640, and link it as theDisplay Imagefield; - Drag the
Border Texture.pngfile into theBorder Texturefield; - Select an appropriate font in the
Fontfield; - Put a video file in the
Assets/StreamingAssetsfolder and set theVideo Filenamefield to the filename of the video.
Preview
Enter play mode. If working correctly you should see something like this:
Inference Engine
Inference Engine is a neural network inference library for Unity. Find out more here.
- Total size
- 96.6 MB
- Files
- 15
- Last updated
- Aug 5
- Pre-warmed CDN
- US EU US EU
