I’m new to the field of AI, I have an ONNX model derived from YOLOv8, and I would like to perform real-time inference.
In addition to this, I have the labels for my model, and I’m interested in obtaining the identification score, class, and bounding box.
I’m a bit lost on how to proceed. Could anyone guide me on the steps to integrate this model into Unity and perform real-time inference? Any help or resources would be greatly appreciated.
Thank you in advance for your time and assistance.
The Sentis package comes with like 10 pretty good and narrow examples, you can import them individually by selecting Sentis in the package manager (Window → Package Manager) and going to the samples tab.
Thank you so much for your helpful response! I’ve previously managed to successfully load the model as per your instructions. Additionally, I’ve created a tensor from an image without any issues.
However, after completing these steps, I’m facing a new challenge. Although I’ve gone through the manual and the included examples, I couldn’t find specific information on how to retrieve the scores and bounding boxes of recognized elements.
Since I’ve already succeeded in loading the model, could you provide additional guidance or direct me to specific code examples for retrieving scores and bounding boxes?
It was made for Unity Barracuda, so it will not work out of the box with Sentis but especially the part on processing the output should be pretty similar.
Hai, i am trying to object detection in ar foundation + baracuda yolo v8 model . I had some issue in camera feed i get every 20 th frame and put inferece my device slightly laged and fraction of seconds freezed how to solve it .
Hi everyone, i contribute to this discussion because i am also having a problem on how to show the results of the inference in unity (sentis). i have successfully uploaded the model and serialized it (yourmodel.onnx —> yourmodel.sentis) i have got the code for using the webcam and creating tensor from sentis team.However, there are no results being interpreted even in the debug console, anyhelp!