application-flow
High-level overview of a typical ovrtx application lifecycle. Use when user asks how to structure an ovrtx program, what the main…
Assigning USD SemanticsAPI class and label metadata for semantic segmentation and ground-truth annotation outputs. Use when user asks to label objects, assign semantic class/label metadata, configure semantic segmentation labels, or author SemanticsAPI overrides.
Claude Code
$ npx -y skills add nvidia-omniverse/ovrtx --skill semantic-labels --agent claude-code
Codex
$ npx skills add nvidia-omniverse/ovrtx --skill semantic-labels -a codex -y
Cursor
$ npx skills add nvidia-omniverse/ovrtx --skill semantic-labels -a cursor -y
Gemini CLI
$ npx skills add nvidia-omniverse/ovrtx --skill semantic-labels -a gemini-cli -y
GitHub Copilot
$ npx skills add nvidia-omniverse/ovrtx --skill semantic-labels -a github-copilot -y
OpenCode
$ npx skills add nvidia-omniverse/ovrtx --skill semantic-labels -a opencode -y
Windsurf
$ npx skills add nvidia-omniverse/ovrtx --skill semantic-labels -a windsurf -y
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: CC-BY-4.0 AND Apache-2.0 name: semantic-labels description: > Assigning USD SemanticsAPI class and label metadata for semantic segmentation and ground-truth annotation outputs. Use when user asks to label objects, assign semantic class/label metadata, configure semantic segmentation labels, or author SemanticsAPI overrides. license: CC-BY-4.0 AND Apache-2.0 author: NVIDIA ovrtx tags: - ovrtx - semantics - labels tools: - Read - Grep
Use this skill when the user asks to label objects, assign semantic class/label metadata, configure semantic segmentation labels, or author SemanticsAPI overrides.
Resolve inputs in this order: existing repository files and referenced snippets, explicit user request, then broader agent context.
1. Identify the prims to label, class/label values, and whether the label should be authored directly or as a composed override. 2. Read the matching USD or Python source snippet before writing semantic metadata. 3. Preserve USD `SemanticsAPI` instance names, inheritance behavior, and any source-layer composition pattern. 4. Keep label authoring, RenderProduct output selection, and output readback separate unless the user asks for the full segmentation workflow. 5. When changing code, run the narrow docs test or example that owns the snippet whenever practical.
This skill has no scripts.
Use USD `SemanticsAPI` metadata to assign semantic class and label values to scene prims that should appear in semantic segmentation or ground-truth annotation outputs. `SemanticsAPI` is a multi-apply schema: apply the `class` and `label` instances to an ancestor prim, and child prims inherit those semantics unless they author more specific semantics.
For runtime-composed scenes, keep the source asset untouched. Build one inline root layer that sublayers the source scene, then author `over` prims for the objects you want to label.
> **Source:** `tests/docs/usd/data/semantic_label_overrides.usda` snippet `doc-semantic-label-overrides` > > **Source:** `tests/docs/data/ovrtx-test-base-semantic-labels.usda` snippet `doc-test-base-semantic-class-layer`
Use the same inline-root sublayer pattern as the loading skill: build the USDA string with `subLayers`, add `SemanticsAPI` `over` prims for the labeled objects, add `SemanticSegmentation` and `SemanticIdMap` outputs to a RenderProduct, then pass that string to `renderer.open_usd_from_string()`.
> **Source:** `tests/docs/python/test_semantic_labels.py` snippet `doc-semantic-class-overrides-python`
`SemanticIdMap` maps renderer semantic IDs to semantic strings such as `class: logo;`. `SemanticSegmentation` is an image whose pixel values are those renderer semantic IDs.
In SDKs with the named SDG output contract, read `SemanticIdMap` through `id` (`uint32[N,4]`), `label_offsets` (`uint64[N+1]`), and `label_data` (`uint8[B]`), not a packed byte record. Preserve all four ID words and producer row indices, including sparse empty rows. The delta maps use the same layout. See [SDG output decoding](../../docs/sensors/cameras/decoding_outputs.rst#identifier-maps-and-deltas) and the target SDK's [changelog](../../CHANGELOG.md) for the applicable contract.
> **Source (Python):** `tests/docs/python/test_camera_aovs.py` snippet `doc-sd-identifiers-python` > **Source (C):** `tests/docs/c/test_camera_aovs.cpp` snippet `doc-sd-identifiers-c` > **Source:** `tests/docs/python/test_semantic_labels.py` snippet `doc-interpret-semantic-segmentation-python`
> **Source:** `tests/docs/c/test_semantic_labels.cpp` snippet `doc-semantic-class-overrides-c`
> **Source:** `tests/docs/c/test_semantic_labels.cpp` snippet `doc-interpret-semantic-segmentation-c`
| Field | Purpose | |---|---| | `prepend apiSchemas = ["SemanticsAPI:label", "SemanticsAPI:class"]` | Applies the `label` and `class` SemanticsAPI instances to a prim. | | `semantic:class:params:semanticType` | Set to `class`. | | `semantic:class:params:semanticData` | The class value, such as `robot`, `vehicle`, or `person`. | | `semantic:label:params:semanticType` | Set to `label`. | | `semantic:label:params:semanticData` | The object-specific label value, such as the asset or instance name. |
ovrtx is a C and Python library for embedding Omniverse RTX sensor simulation and visualization directly into applications.
High-level overview of a typical ovrtx application lifecycle. Use when user asks how to structure an ovrtx program, what the main…
Asynchronous operation patterns including polling, timeouts, and non-blocking workflows. Use when user asks about async…
Replacing persistent ovrtx attribute bindings with reusable ovstage queries for repeated writes or maps. Use when user asks about…
Binding materials to prims at runtime. Use when user asks to assign a material, change a material, set material binding, or swap…
Available camera render outputs for Real-Time Path Tracing (RT2) mode. Use when user asks what AOVs/render vars are available,…
Cloning USD subtrees to create copies at new paths. Use when user asks to clone, duplicate, copy a prim, or create instances of…
Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and…
Internals of the Feast codebase — how each component works, where the key abstractions live, and the data flow through the…