TF-Unity-ARFoundation
TF-Unity-ARFoundation copied to clipboard
Object Detection and ARFoundation in Unity
TF-Unity-ARFoundation
Detect apple (the fruit) from camera frame then place an AR apple on it. Uses TensorFlow for object detection and ARFoundation for AR experience. Tested with iOS and ARKit only but should work with Android and ARCore as well.
The scene is modified from CameraImage in arfoundation-samples.
Usage
- Open the project in Unity3d, go to Window > Package Manager, install AR Foundation and at least one platform-specific AR package:
- ARKit XR Plugin
- ARCore XR Plugin
-
Follow the installation instructions in TF-Unity.
-
Build and run.