浏览代码

Fixing links and fleshing out PerceptionCamera.md

/update-setup-steps
Jon Hogins 5 年前
当前提交
b47a1ec9
共有 4 个文件被更改,包括 316 次插入12 次删除
  1. 9
      com.unity.perception/Documentation~/SetupSteps.md
  2. 6
      com.unity.perception/Documentation~/index.md
  3. 21
      com.unity.perception/Documentation~/PerceptionCamera.md
  4. 292
      com.unity.perception/Documentation~/images/PerceptionCamera.png

9
com.unity.perception/Documentation~/SetupSteps.md


* Clone the [Perception](https://github.com/Unity-Technologies/com.unity.perception) repository
* Install and use Unity latest [2019.3 Unity editor](https://unity.com/releases/2019-3)
## Setting up a Project
Below are two options for getting started using the Perception package. Option 1 is opening existing test projects in the repository. Option 2 new Unity project and integrate the Perception package.
### Option 1: PerceptionHDRP & PerceptionURP Projects
The repository includes two projects for local development in `TestProjects` folder, one set up for HDRP and the other for URP. These can be opened in by adding them to the Unity Hub.
<img src="images/TestProjects.PNG" align="middle"/>
### Option 2: Create a new Project
You can also set up a new or existing project to use Perception.
*The following instructions reference the Unity doc's page on [installing a local package](https://docs.unity3d.com/Manual/upm-ui-local.html)*

6
com.unity.perception/Documentation~/index.md


> com.unity.perception is in active development. Its features and API are subject to significant change as development progresses.
[Installation instructions](com.unity.perception/Documentation~/SetupSteps.md)
[Installation instructions](SetupSteps.md)
[Setting up your first perception scene](com.unity.perception/Documentation~/GettingStarted.md)
[Setting up your first perception scene](GettingStarted.md)
## Package contents

|[Labeling Configuration](GroundTruth-Labeling.md#LabelingConfiguration)|Asset which defines a taxonomy of labels for ground truth generation|
|Perception Camera|Captures RGB images and ground truth from a [Camera](https://docs.unity3d.com/Manual/class-Camera.html)|
|[Perception Camera](PerceptionCamera.md)|Captures RGB images and ground truth from a [Camera](https://docs.unity3d.com/Manual/class-Camera.html)|
|[SimulationManager](SimulationManager.md)|Ensures sensors are triggered at proper rates and accepts data for the JSON dataset|

21
com.unity.perception/Documentation~/PerceptionCamera.md


# The Perception Camera component
The Perception Camera component ensures the attached [Camera](https://docs.unity3d.com/Manual/class-Camera.html) runs at deterministic rates and captures RGB and other Camera-related ground truth to the [JSON dataset](Schema/Synthetic_Dataset_Schema.md) using [SimulationManager](SimulationManager.md). It supports HDRP and URP.
<img src="images/PerceptionCamera.PNG" align="middle"/>
## Properties
| Property: | Function: |
|--|--|
| Description | A description of the camera to be registered in the JSON dataset. |
| Period | The amount of simulation time in seconds between frames for this camera. For more on sensor scheduling, see [SimulationManager](SimulationManager.md). |
| Start Time | The simulation time at which to run the first frame. This time will offset the period, useful for allowing multiple cameras to run at the right times relative to each other. |
| Capture Rgb Images | When this is checked, RGB images will be captured as PNG files in the dataset each frame. |
| Produce Segmentation Images| When this is checked at startup, semantic segmentation images will be captured as PNG files in the dataset each frame. Pixel colors are derived from the [Labeling](GroundTruth-Labeling.md) components attached to the GameObjects and the Labeling Configuration specified on the Perception Camera. |
|Produce Object Count Annotations| When this is checked at startup, a metric reporting object counts for each label in the Labeling Configuration will be added to the dataset each frame. |
|Object Count Id| The ID to use in the dataset for the Object Count metric. |
|Produce Bounding Box Annotations| When this is checked at startup, an annotation reporting 2D bounding boxes of each labeled GameObject will be added to the dataset each frame. |
|Bounding Box Id| The ID to use in the dataset for the Bounding Box annotation.|
|Produce Rendered Object Info Metric|When this is checked at startup, a metric reporting visible pixels, instance ID and resolved label will be reported for each object each frame. Labels are resolved using the Labeling Configuration. |
|Rendered Object Info Id| The ID to use in the dataset for the Rendered Object Info annotation.|
|Bounding Box Origin|Whether the X/Y values reported for bounding boxes should start at the bottom-left or top-left of the object in the frame. |
|Labeling Configuration| The Labeling Configuration used to resolve each object to a single label, label ID, or semantic segmentation pixel value in the ground truth generated by this Perception Camera.|

292
com.unity.perception/Documentation~/images/PerceptionCamera.png

之前 之后
宽度: 1112  |  高度: 629  |  大小: 90 KiB
正在加载...
取消
保存