Skip to content
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

QR Detection #87

Open
bvaibhav1 opened this issue Oct 19, 2022 · 2 comments
Open

QR Detection #87

bvaibhav1 opened this issue Oct 19, 2022 · 2 comments

Comments

@bvaibhav1
Copy link

bvaibhav1 commented Oct 19, 2022

Hello

We are not getting callback OnAddTrackedGeomety on Starting a new AR Session if the QR is already detected.
We get callaback for OnUpdaterTrackedGeomety, However two values of QR ae received alternately (One is the correct QR location the other is 0,0,0 (in tracker ref frame, or the location where the Hololens was when the session started.

Using Unreal 4.27.2 Built from Source.

Kindly suggest mechanism (for now hardcoding to ignore the QR value of 0,0,0.

@fieldsJacksonG
Copy link
Contributor

Can you check the tracking state for the QRCode before using it?

What is probably happening is the first update is too early for the tracking system to located it. So an update event fires, but the LocalToTrackingTransform is identity and the TrackingState should be NotTracking.

Looks at the code here for how the updated event fires:

@bvaibhav1
Copy link
Author

Hello

I always get the tracking state as tracking. Also we keep on getting the local to tracking transform as identify and it is not for the first time only. I am rejecting it based on this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants