LocalJoost / YoloHolo

HoloLens app using a Yolo model to identify objects in space
MIT License
42 stars 7 forks source link

Execution in unity #2

Closed AmokraneIlhem closed 4 months ago

AmokraneIlhem commented 1 year ago

Hi, thanks for this great work! As I'm trying to test YOLO in unity, i imported the project and added the model.onnx as you mentioned it. However, when I run it under unity nothing happens. Please, what should I do to make the detection work? Thank u in advance.

LocalJoost commented 1 year ago

My dear friend. It only works when running in a HoloLens 2

AmokraneIlhem commented 1 year ago

Thank you for your answer. Do you have any idea how to make YOLO work in unity by activating the camera?

LocalJoost commented 1 year ago

Well Image detection works fine, only after it has found stuff it tries to locate it in space using the depth camera and Unity doesn't have a Spatial Map inside the editor

AmokraneIlhem commented 1 year ago

Indeed, I'm looking to deploy a deep learning model more precise EfficientPose under unity to estimate the 3D position of an object for a mobile application, but I have no idea on the deployment on unity therefore, I wanted to try with YOLO since I saw through my research that it was deployed and tested already and it worked.