cj-mills / christianjmills

My personal blog
https://christianjmills.com/
Other
4 stars 0 forks source link

posts/onnx-directml-unity-tutorial/part-2/ #45

Open utterances-bot opened 11 months ago

utterances-bot commented 11 months ago

Christian Mills - Real-Time Object Detection in Unity With ONNX and DirectML Pt. 2

Perform object detection in a Unity project with ONNX Runtime and DirectML.

https://christianjmills.com/posts/onnx-directml-unity-tutorial/part-2/

vanceagrig commented 11 months ago

Hi, first of all, brilliant tutorial, it worked on the first go, thanks. I have tried to build the project for Android, but It does not detect anything. I believe it needs specific DLL's for Android. Any tutorials or ideas on how to put this project on Android? Thank you again.

cj-mills commented 11 months ago

Hi @vanceagrig,

You are correct that the DLL file built in the Visual Studio project in Part 1 of this series will not work for Android builds. Additionally, the DirectML execution provider used in this tutorial series requires devices that support DirectX 12.

I do not currently have an equivalent tutorial for Android builds, but I can provide links to some resources to help get you started:

The ONNXRuntime documentation includes a couple of tutorials for Android applications:

This YouTube channel has a playlist for creating Android plugins for Unity projects: