Unity-OpenVINO-YOLOX icon indicating copy to clipboard operation
Unity-OpenVINO-YOLOX copied to clipboard

This tutorial series covers how to perform object detection in the Unity game engine with the OpenVINO™ Toolkit.

Unity OpenVINO YOLOX (Outdated)

8/11/2022:


OpenVINO_YOLOX_Plugin_Demo

This tutorial series covers how to run the YOLOX object detection model in the Unity game engine with the OpenVINO™ Toolkit.

Update - 12/6/2021

Created a new GitHub repository that contains an updated version of my initial project that enables the plugin to be used in the Unity Editor and removes the need to manually move files when building the project.

Demo Video

Download Models

  1. Download the models folder from Google Drive. (link)

  2. Extract the models folder from the .tar file.

  3. Copy and paste the models folder into the OpenVINO_YOLOX_Demo\Build folder.

Run the Demo

  1. Open the OpenVINO_YOLOX_Demo\Build folder.

  2. Run the OpenVINO_YOLOX_Demo.exe file

    Note: The yolo_m model seems to provide the best balance between accuracy and performance.

  3. You can press the space bar to hide the user interface.

Tutorial Links

Part 1: This post covers the prerequisite software, pretrained object detection models, and test videos used in the tutorial.

Part 2: This post walks through the steps needed to create a Dynamic link library (DLL) in Visual Studio to perform inference with the pretrained deep learning model.

Part 3: This post demonstrates how to create a Unity project to access the DLL as a plugin.

Follow Ups

In-Editor