浏览代码

Updates to schema doc

/main
Steven Borkman 4 年前
当前提交
259d8b37
共有 1 个文件被更改,包括 14 次插入7 次删除
  1. 21
      com.unity.perception/Documentation~/Schema/Synthetic_Dataset_Schema.md

21
com.unity.perception/Documentation~/Schema/Synthetic_Dataset_Schema.md


y: <float> -- The y coordinate
z: <float> -- The z coordinate
}
acceleration { -- 3d bounding box acceleration in meters per second^2.
acceleration { -- [Optional] 3d bounding box acceleration in meters per second^2.
x: <float> -- The x coordinate
y: <float> -- The y coordinate
z: <float> -- The z coordinate

Typically, the `spec` key describes all labels_id and label_name used by the annotation.
Some special cases like semantic segmentation might assign additional values (e.g. pixel value) to record the mapping between label_id/label_name and pixel color in the annotated PNG files.
##### annotation definition header
```
annotation_definition {
id: <int> -- Integer identifier of the annotation definition.

spec: [<obj>...] -- Format-specific specification for the annotation values (ex. label-value mappings for semantic segmentation images)
}
# semantic segmentation
```
##### semantic segmentation
Annotation spec for semantic segmentation labeler([see semantic segmentation](#####semantic segmentation))
```
annotation_definition.spec {
label_id: <int> -- Integer identifier of the label
label_name: <str> -- String identifier of the label

# label enumeration spec, used for annotations like bounding box 2d. This might be a subset of all labels used in simulation.
```
##### label enumeration spec
This spec is used for annotations like bounding box 2d. This might be a subset of all labels used in simulation ([see bounding box 2D](#####2D bounding box)).
```
# keypoint template used to define the keypoints and skeletal connections captured by the keypoint labeler.
```
##### keypoint template
keypoint templates are used to define the keypoints and skeletal connections captured by the keypoint labeler ([see keypoint](#####keypoints)).
```
annotation_definition.spec {
template_id: <str> -- The UUID of the template
template_name: <str> -- Human readable name of the template

正在加载...
取消
保存