Skip to content

cj-mills/unity-barracuda-inference-image-classification

Repository files navigation

Unity Barracuda Inference Image Classification

This Unity package extends the functionality of the barracuda-inference-base package to perform image classification using computer vision models.

Demo Video

unity-barracuda-inference-image-classification-async.mp4

Demo Project

Code Walkthrough

Features

  • Utilizes Unity's Barracuda engine for efficient inference
  • Supports various worker types and Asynchronous GPU Readback

Getting Started

Prerequisites

  • Unity game engine

Installation

You can install the Barracuda Inference Image Classification package using the Unity Package Manager:

  1. Open your Unity project.
  2. Go to Window > Package Manager.
  3. Click the "+" button in the top left corner, and choose "Add package from git URL..."
  4. Enter the GitHub repository URL: https://github.com/cj-mills/unity-barracuda-inference-image-classification.git
  5. Click "Add". The package will be added to your project.

For Unity versions older than 2021.1, add the Git URL to the manifest.json file in your project's Packages folder as a dependency:

{
  "dependencies": {
    "com.cj-mills.barracuda-inference-image-classification": "https://github.com/cj-mills/unity-barracuda-inference-image-classification.git",
    // other dependencies...
  }
}

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

This Unity package extends the functionality of the barracuda-inference-base package to perform image classification using computer vision models.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages