question

JooBarreto-4075 avatar image
0 Votes"
JooBarreto-4075 asked JooBarreto-4075 commented

Diffrentiate anchors placed in similar object/place in real world using Azure spatial anchor in Unity

Hello there,

So right now I am using Azure Spatial Anchors in Unity to place anchors at certain objects in a certain space.
I have already used Anchor locate criteria, NearAnchor and NearDevice.
This was tested using a ZEBRA TC57HO
To replicate this you can, use coarse relocalization sample in unity. And then you have to create an anchor in a chair for example in a certain place of your home.
After creating the anchor, if you put another equal/similar chair in another room for example, if you look for anchors while pointing at the chair it will show the anchor where you have put in the first chair.

The application thinks it is the same object and puts the anchor there, but they are placed at different real-world locations.

This is also replicated using the example samples given by Microsoft


Can some one help me? I really need to detect different anchors placed at similiar objects,

Best regards,

João Barreto

azure-spatial-anchors
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

VipulKakkadMSFT-8095 avatar image
0 Votes"
VipulKakkadMSFT-8095 answered JooBarreto-4075 commented

Hey Joao!

From your description, it seems like you need to scan more of your space before creating the anchor, which will improve the results when you are querying the anchor.

You can find more details on this concept page. You can maximize the viewing perspectives by walking around the room and driving up the value of SessionStatus.RecommendedForCreateProgress, and should capture the unique and stable features of the spaces other than those on the chair, so that ASA can recognize the difference between the spaces.
The same concept applies to capturing more of the surroundings when finding anchors calling CloudSpatialAnchorSession.CreateWatcher.



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Vipul!

Thanks for the answer!

I think that solution might work in this case, but what if the target to be differentiated is big? a big machine inside a factory? And there is another big machine inside a factory? I dont know the real measures but for what i have been told, it could be about 10 meters width and 5 meters height. The problem is that when I am looking for anchors he only sees the machine and nothing else, hence the confusion of the app understanding which machine is.

0 Votes 0 ·