Skip to content

wojciechp6/YOLO-UnityBarracuda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

❗❗❗ New YOLOv8 version ❗❗❗

I'm proudly announcing a new project that implements the state-of-the-art YOLOv8 network! It has object detection as well as instance segmentation demos.
Check it here!

YOLO-UnityBarracuda

Object detection app built on Unity Barracuda and YOLOv2 Tiny. This project will not be supported in the future, check the new version.

About

This simple open-source project presents an example of Unity Barracuda usage. It uses the lite version of YOLOv2. The target platform are mobile devices but it also works fine on desktops. This project uses the webcamera as input.

Sample1
Sample2
The images were taken from the open COCO dataset.

Dependencies

How to run

  1. Download and copy YOLOv2 Tiny model to Assets.
  2. Open Scenes/SampleScene.
  3. In the Main Camera object select the WebCamDetector script and point the downloaded model in Model File field.

There are only two MonoBehaviour scripts:

  • WebCamDetector.cs which takes texture from the camera and runs the model.
  • OnGUICanvasRelativeDrawer.cs required by the previous script to render text.

About

Object detection app build on Unity Barracuda and YOLOv2 Tiny

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages