[Info Request] : What is the difference between onnxruntime-unity and sentis
Hello, I am just exploring the frameworks of integrating the ML/DL NN models to Unity framework. I found barracuda and then its latest migration (sentis - which is still in beta and hope to release by end of 2024) .Sentis also provides the yolo model integration. What benefit does onnx runtime has over sentis? Are the examples portable on Android or iOS? Regards, Saurabh
@rawatsaurabh Thanks for your interest.
Yes, this example should work on Android and iOS. Please take a look at my Medium post about why I started exploring ONNX Runtime within Unity.
In short
- Use Sentis if:
- Targeting Web Player
- Your model is compatible with Sentis, and the performance is good enough
- Use ONNX Runtime if:
- Your ONNX model is not compatible with Sentis. This library is a thin wrapper of C# ONNX Runtime. It will support various models.
Other candidates:
- TensorFlow Lite for Unity: my other library. I still like TensorFlow Lite. It's quite performant :)
- NatML
- OpenCV for Unity
- Ailia Unity SDK
Please let me know if you found other good ML libraries.
Also does it work on the real time inference (of a camera) on Android/iOS? I have seen Sentis has very bad performance so far.(too slow)
@rawatsaurabh You can try it yourself with this repository :)
https://github.com/asus4/onnxruntime-unity-examples
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.