-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cube is far from marker (probably copy of #17) #43
Comments
Have you performed camera calibration of the HoloLens RGB camera that you're using for tracking? If not, check out the code to calibrate the RGB camera here. You need to print off a checkerboard pattern, stick it on a planar board and take a bunch of pictures of it with the HoloLens camera (using the desired camera resolution which you will use for subsequent tracking). You can then use Long's code to estimate the intrinsic and distortion matrices, convert them into ARToolKit format and update them within the tracking code in this repo. Here is an example of camera calibration using OpenCV link. |
Thanks for the answer. I see this not really practicable as I need to put that into an app that is run on many hololenses for any number of users. So I guess we'd need access to the calibration settings the user creates when creating the account on the hololens and then adjusting for that. |
@rschurade If the offset is constant, then you can manually offset all tracking results. But from your description, it is dependent on the distance of marker, than probably means that your HoloLens camera intrinsics are quite different from the default I provided (calibrating using my HoloLens). |
How can I take photos with a specific resolution of the camera? |
Hi @qian256, hi all, I still have this strange behaviour, that is the cube/virtual content stays far from the marker and tendentially moves towards the observer while he moves farther. |
@rschurade I have the same identical issue. Did you find a way to fix it? |
I'm running the HoloLenARToolKitSingle demo. I'd say it works fine so far, marker is recognized and it exactly follows any rotation or tilt of the marker. However it is roughly 20-30cm away from the marker. When I hold the marker in my hand and extend the arm it's about halfway between hand and eye.
Is it possible to adjust for that offset and can you advice where and how to do it?
Edit: Hmm it's depending on the distance of the Hololens camera to the marker so there's probably no easy fix.
The text was updated successfully, but these errors were encountered: