Practical overview
When it fits
Use it when you want Unity-oriented examples for TensorFlow Lite or MediaPipe tasks and can work with the repository's documented setup requirements.
Who it is for
- Unity developers exploring on-device machine-learning examples.
- Developers prototyping object detection, segmentation, pose estimation, classification or other included tasks.
- Teams comparing documented runtime and delegate options across desktop and mobile platforms.
Documented uses
- Explore a TensorFlow Lite example for a specific machine-learning task in Unity.
- Use an included demonstration as a starting point for a Unity prototype.
- Review platform-specific prebuilt library and delegate options.
Requirements & limits
The repository is public. Git LFS is required to clone it and try all examples.
- The repository reports testing with Unity 6000.3.11f1 and TensorFlow 2.21.0.
- Core CPU libraries are listed for iOS, Android, macOS, Ubuntu and Windows; delegate availability differs by platform.
- Linux GPU delegate support is marked experimental and requires OpenGL ES and OpenCL.
- The samples folder is identified as MIT-licensed, but model licenses can differ and should be checked individually.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install the TensorFlow Lite Unity package through UPM
Add the documented TensorFlow Lite package dependencies to a Unity project.
Before you start
- A Unity project with access to Packages/manifest.json.
Steps
Open Packages/manifest.json.
Add the documented package.openupm.com and npm scoped registries.
Add com.github.asus4.tflite at version 2.21.0-rc1 under dependencies.
Add the optional TensorFlow Lite utilities, MediaPipe utilities or UniTask dependencies as needed.
Expected outcome
The project manifest contains the documented registry and package dependency entries for TensorFlow Lite for Unity.
Guide limitations
- This guide covers package manifest setup only, not running examples or building an application.
- UniTask is needed only for the documented async methods.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 5 November 2026
- Original website title
- asus4/tf-lite-unity-sample · Official homepage title · retained in its source language

