Découvrez l'API Semantics pour le SDK Android. Elle fournit des informations sémantiques afin de compléter les informations géométriques existantes et elle améliore la compréhension des scènes.
[null,null,[],[[["The Scene Semantics API provides real-time semantic information about an outdoor scene, labeling each pixel with categories like sky, building, or person."],["To use the API, enable semantic mode in your ARCore session after checking for device compatibility."],["You can access the semantic image, confidence image, and the fraction of pixels for a specific semantic label using the API's methods."],["The semantic and confidence images are available after a few frames from the session's start and may not be available for all devices due to processing limitations."],["The API offers an efficient way to understand the scene's composition, enabling developers to build immersive and interactive AR experiences."]]],["Geospatial Depth enhances the ARCore Depth API by integrating Streetscape Geometry data, extending depth range to 65 meters in VPS-supported locations. This feature combines local camera observations with building and terrain geometry, updating as users move. To enable it, configure the ARCore session to support Depth, Geospatial mode, and Streetscape Geometry, and then access depth images via existing API calls. Geospatial depth enables outdoor long-range applications like building occlusion and navigation and works on any devices that support the depth API.\n"]]