Skip to content

Liviuss76/yolo-unity-integration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

yolo-unity-integration

Integration of Darknet YOLO for use in Unity, by passing annotated webcam footage from OpenCV to Unity through P/Invoke.

Notes:

  • There is currently a ton of commented and test code that will be cleaned at a later date
  • Neither project will run without a compiled opencv_world{version}.dll
  • opencv_world dll should be placed in the following directories:
    • "Assets/Plugins" directory of the Unity project
    • "build/darknet/x64" directory of the Darknet project
  • Custom code for the Darknet project can primarily be found in the "yolo_console_dll.cpp" file found in the "src" directory
  • Custom .cfg, .data, .names, and .weights files need to be included to run the Unity project, and should be located relative to the Unity root project directory, and with updated relative paths in calls to "Init," as depicted in OpenCVDarknet.cs and OpenCVDarknetTest.cs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 87.1%
  • Cuda 6.7%
  • C++ 2.2%
  • Python 2.0%
  • C# 1.6%
  • Makefile 0.3%
  • Other 0.1%