Open-Taxonomy-COCO Profile#
This document describes how to author a USD asset that conforms to the Open-Taxonomy-COCO profile.
Open-Taxonomy-COCO is an example profile that demonstrates labeling assets with the COCO (instances) taxonomy
instead of NVIDIA’s Wikidata Q-codes. It pairs the Core feature with one closed-vocabulary taxonomy
feature (COCO.001). See Adding a custom taxonomy to build your own.
Profile definition#
The Open-Taxonomy-COCO profile includes the following feature set (see open_taxonomy_profiles.toml).
Each feature’s requirements and dependencies are defined in the feature specifications.
[Open-Taxonomy-COCO]
"0.1.0" = {features = [
{selector = "FET011_SemanticLabels.0-2-0"}, # Semantic Labels
], capabilities = [
{selector = "CAP000_Core.0-1-0"}, # Core
{selector = "CAP040_CocoLabels.0-1-0"}, # COCO (instances) Labels
]}
Required USD properties and schemas#
Stage metadata (required)#
defaultPrimmust be set.upAxisandmetersPerUnitmust be set on the stage.
Semantic labels (COCO (instances))#
Apply
SemanticsLabelsAPI:cocoto prims you want labeled with this taxonomy.Author
token[] semantics:labels:cocousing COCO (instances) class names (COCO.001).Values are matched case-insensitively and tolerate
_/-spacing and display-name/alias forms; a value that matches only after normalization passes with a warning suggesting the canonical name.
def Xform "Object" (
prepend apiSchemas = ["SemanticsLabelsAPI:coco"]
)
{
token[] semantics:labels:coco = ["person", "car"]
}
Validation metadata#
When validation is stamped into the asset, the validator records the result under
customLayerData["SimReady_Metadata"]["validation"]. Search for validated_features to inspect
the dated validation result and the feature IDs and versions that were checked.
The result has this general shape:
customLayerData = {
"SimReady_Metadata" = {
"validation" = {
"validated_features" = {
"<YYYY-MM-DD>" = {
"CAP040_CocoLabels" = {
"version" = "0.1.0"
"passed" = true
}
}
}
}
}
}
References#
docs/profiles/open_taxonomy_profiles.tomldocs/capabilities/CAP040_CocoLabels.mddocs/rules_and_reqs/dataset_taxonomies/capability-dataset_taxonomies.mddocs/guides/adding_a_custom_taxonomy.md