Schemas / I/O
rig.sensor.label
v1.0.0 · stable maturity: draft 2 fields 1 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
mode |
enumsemantic · instance | optional | Optional. semantic, instance. Absent = semantic |
classes |
array<string>min 1 items | required | Names the image indexes, in order. Index 0 is the first string |
Class image from a camera. Format when present.
Compose on the same entity as rig.spatial.camera. The picture stays in the host, the same bargain as a depth buffer.
semantic paints a class per pixel. instance paints an object id; classes is still the vocabulary those objects belong to. A host that cannot tell instances apart emits semantic.
An entity that should appear in the image composes rig.sensor.class. The name matches one of these strings. rig.meta.tags is not a class id.
JSON Schema
Resolves at https://rig.works/schemas/rig.sensor.label.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.sensor.label.schema.json",
"title": "rig.sensor.label",
"type": "object",
"additionalProperties": false,
"properties": {
"mode": {
"type": "string",
"enum": [
"semantic",
"instance"
]
},
"classes": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "./_defs.schema.json#/$defs/string"
}
}
},
"required": [
"classes"
],
"x-rig-maturity": "draft"
}