Getting point cloud data from Azure Cloud Anchors

Atul Vasudev 1 Reputation point
2023-01-05T08:24:30.22+00:00

To to view a cloud anchor and add AR markers to it dynamically, I need the point cloud data of each recorded cloud anchors. Is it possible somehow?

Azure Spatial Anchors
Azure Spatial Anchors
An Azure service that is used to build immersive three-dimensional applications and experiences that map, persist, and restore content or points of interest at real-world scale.
87 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nathan Manis - MSFT 476 Reputation points Microsoft Employee
    2023-01-06T21:58:51.273+00:00

    Hi @Atul Vasudev ,

    Thank you for the question. If I understood this correctly, you are wanting the raw point cloud values (x, y, z) somehow via an API to query an existing Azure Spatial Anchor storage account.

    If so, that is not is used in the API calls since it is more of an offset in the point cloud that is matched depending on the device once matched via the API. In the API set, the underlying class does not expose an x,y,z value and no value is accessible via a query:
    https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.spatialanchors.cloudspatialanchor?view=spatialanchors-dotnet

    This shows the location matching design with how the scan works:
    https://learn.microsoft.com/en-us/azure/spatial-anchors/how-tos/create-locate-anchors-unity#locate-a-cloud-spatial-anchor

    Thanks,
    Nathan Manis - MSFT

    Here are a couple other threads that may be of interest too in forums:
    https://learn.microsoft.com/en-us/answers/questions/673434/comparison-of-points-clouds-in-azure-spatial-ancho.html
    https://learn.microsoft.com/en-us/answers/questions/690659/import-data-manually-into-azure-spatial-anchors-to.html

    1 person found this answer helpful.