EnoxSoftware / HoloLensWithOpenCVForUnityExample

HoloLens With OpenCVforUnity Example (Support for Hololens1 and Hololens2)
MIT License
262 stars 50 forks source link

ArUco tracking on Hololens 2 is not accurate #23

Closed mikecancelosi closed 4 years ago

mikecancelosi commented 4 years ago

When trying to track an ArUco marker on the Hololens 2, the tracking is fairly close, but is not entirely accurate. I'm using the cameraInsrinsicsChecker scene to capture the correct CamMatrix, but it is slightly off. I'm using a 5 foot by 4 foot desk as my object, and when capturing the marker, the desk is tilted around 30 degrees.

Is there a better way to determine the correct CamMatrix settings? Or perhaps predetermined settings for the Hololens 2

EnoxSoftware commented 4 years ago

Unfortunately, I haven't gotten the HoloLens 2, so I haven't tried this example. In order for the example to work correctly, you must use the HoloLensCameraStream Asset to get accurate projectionMatrix and cameraToWorldMatrix values every frame. I don't know if HololensCameraStream Assets is compatible with Hololens2 at this time.

mikecancelosi commented 4 years ago

I was mistaken. My image sizes and 3D points were slightly off.

RenSiyao commented 3 years ago

Is your Hololens2 enabled sensor data acquisition? Why is my Hololens2 application installed but not working?

EnoxSoftware commented 3 years ago

To the owner of Hololens2. I want to know the answer to this question. #29

mikecancelosi commented 3 years ago

Hey sorry, but I can't help. I switched jobs and no longer have access to the hololens 2. Sorry about that. Thank you for your software