Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
2.99k stars 1.11k forks source link

QR Code as Image Tracking #1018

Closed nextechar-hardik closed 1 year ago

nextechar-hardik commented 1 year ago

Hello Everyone ,

I am using QR Code (512*512 Px Image) as marker, and adding that in runtime image library. When i am scanning that image i am able to get Tracking event and instantiate Gameobject with Anchor on word Position relative to that image tracking pose.

After that i am disabling AR Image Tracking manager and reference lib assign null and disable all trackable image.

After that i am trying to scan same kind of QR code image and AR Foundation Reset my session or Anchor position to that image position i had check at that time i am not getting any image tracking event.

How can i stop this kind of behaviour ?

andyb-unity commented 1 year ago

Can you clarify what you mean here?

After that i am trying to scan same kind of QR code image and AR Foundation Reset my session or Anchor position to that image position i had check at that time i am not getting any image tracking event.

nextechar-hardik commented 1 year ago

For now its simple How to Question.

My problem is Session Space moving when found similar Image.

nextechar-hardik commented 1 year ago

For example When I am Scanning Marker (QR Image) First time then My AR Session Space Position = 0.1,0.1,0.1 and when I am scanning Another marker (10 feet away) then my session Space position change to 10,10,10.

nextechar-hardik commented 1 year ago

Thank you , AR Foundation 5.0 resolve my issue.