# ArSemanticLabel

Scene Semantics API.

See the [Scene Semantics Developer Guide](https://developers.google.com/ar/develop/c/scene-semantics) for more information.

## Summary

| ### Enumerations ||
|---|---|
| `https://developers.google.com/ar/reference/c/group/ar-semantic-label#arsemanticlabel{ https://developers.google.com/ar/reference/c/group/ar-semantic-label#ar_semantic_label_unlabeled = 0, https://developers.google.com/ar/reference/c/group/ar-semantic-label#ar_semantic_label_sky = 1, https://developers.google.com/ar/reference/c/group/ar-semantic-label#ar_semantic_label_building = 2, https://developers.google.com/ar/reference/c/group/ar-semantic-label#ar_semantic_label_tree = 3, https://developers.google.com/ar/reference/c/group/ar-semantic-label#ar_semantic_label_road = 4, https://developers.google.com/ar/reference/c/group/ar-semantic-label#ar_semantic_label_sidewalk = 5, https://developers.google.com/ar/reference/c/group/ar-semantic-label#ar_semantic_label_terrain = 6, https://developers.google.com/ar/reference/c/group/ar-semantic-label#ar_semantic_label_structure = 7, https://developers.google.com/ar/reference/c/group/ar-semantic-label#ar_semantic_label_object = 8, https://developers.google.com/ar/reference/c/group/ar-semantic-label#ar_semantic_label_vehicle = 9, https://developers.google.com/ar/reference/c/group/ar-semantic-label#ar_semantic_label_person = 10, https://developers.google.com/ar/reference/c/group/ar-semantic-label#ar_semantic_label_water = 11 }` | enumDefines the labels the Scene Semantics API is able to detect and maps human-readable names to per-pixel semantic labels. |

## Enumerations

### ArSemanticLabel

```
 ArSemanticLabel
```
Defines the labels the Scene Semantics API is able to detect and maps human-readable names to per-pixel semantic labels.

See the [Scene Semantics Developer Guide](https://developers.google.com/ar/develop/c/scene-semantics) for more information.

Use `https://developers.google.com/ar/reference/c/group/ar-frame#arframe_acquiresemanticimage` to obtain an image containing these pixels and `https://developers.google.com/ar/reference/c/group/ar-frame#arframe_getsemanticlabelfraction` to query what percentage of the image contains these pixels.

| Properties ||
|---|---|
| `AR_SEMANTIC_LABEL_BUILDING` | Pixels of buildings, including houses, garages, etc. Includes all structures attached to the building, such as signs, solar panels, scaffolding, etc. |
| `AR_SEMANTIC_LABEL_OBJECT` | Pixels of general temporary and permanent objects and obstacles, including street signs, traffic signs, free-standing business signs, billboards, poles, mailboxes, fire hydrants, street lights, phone booths, bus stop enclosures, cones, parking meters, animals, etc. |
| `AR_SEMANTIC_LABEL_PERSON` | Pixels of humans, including pedestrians and bicycle/motorcycle riders. |
| `AR_SEMANTIC_LABEL_ROAD` | Pixels of drivable surfaces for vehicles, including paved, unpaved, dirt, driveways, crosswalks, etc. |
| `AR_SEMANTIC_LABEL_SIDEWALK` | Pixels of sidewalks for pedestrians and cyclists, including associated curbs. |
| `AR_SEMANTIC_LABEL_SKY` | Pixels of the open sky, including clouds. Thin electrical wires in front of the sky are included, but leaves/vegetation are not included. |
| `AR_SEMANTIC_LABEL_STRUCTURE` | Pixels of structures that are not buildings, including fences, guardrails, stand-alone walls, tunnels, bridges, etc. |
| `AR_SEMANTIC_LABEL_TERRAIN` | Pixels of walkable vegetation areas, including grass, soil, sand, mountains, etc. In contrast, 'tree' specifies non-walkable vegetation, like trees and bushes. |
| `AR_SEMANTIC_LABEL_TREE` | Pixels of non-walkable vegetation, like trees and shrubs. In contrast, 'terrain' specifies walkable vegetation, like grass. |
| `AR_SEMANTIC_LABEL_UNLABELED` | Pixels with no semantic label available in the API output. |
| `AR_SEMANTIC_LABEL_VEHICLE` | Pixels of vehicles, including cars, vans, buses, trucks, motorcycles, bicycles, trains, etc. |
| `AR_SEMANTIC_LABEL_WATER` | Pixels of ground surfaces covered by water, including lakes, rivers, etc. |