浏览代码

added instructions to perception camera doc

/main
Mohsen Kamalzadeh 4 年前
当前提交
952c98a7
共有 3 个文件被更改,包括 596 次插入0 次删除
  1. 16
      com.unity.perception/Documentation~/PerceptionCamera.md
  2. 214
      com.unity.perception/Documentation~/images/build_res.png
  3. 366
      com.unity.perception/Documentation~/images/gameview_res.png

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


|--|--|
| Affect Simulation Timing | Have this camera affect simulation timings (similar to a scheduled camera) by requesting a specific frame delta time. Enabling this option will let you set the `Simulation Delta Time` property described above.|
## Output resolution
When using Unity Editor to generate datasets, the resolution of the images generated by the Perception Camera will match the resolution set for the ***Game*** view of the editor. However, images generated with built players (including local builds and Unity Simulation runs) will use the resolution specified in project settings.
* To set the resolution of the ***Game*** view, click on the dropdown menu in front of `Display 1`. You can use one of the provided resolutions or create a new one. To create one, click **+**. Set `Type` to `Fixed Resolution` and `Width` and `Height` to your desired resolution.
<p align="center">
<img src="images/gameview_res.png" width="300"/>
<br><i>Creating a new resolution preset for the ***Game*** view</i>
</p>
* To set the resolution of the built player, Open ***Edit -> Project Settings*** and navigate to the ***Player*** tab. In the ***Resolution and Presentation*** section, set ***Fullscreen Mode*** to ***Windowed*** and then set ***Default Screen Width*** and ***Default Screen Height*** to your desired resolution.
<p align="center">
<img src="images/build_res.png" width="700"/>
<br><i>Setting the resolution of the built player</i>
</p>
## Camera labelers
Camera labelers capture data related to the Camera in the JSON dataset. You can use this data to train models and for dataset statistics. The Perception package provides several Camera labelers, and you can derive from the CameraLabeler class to define more labelers.

214
com.unity.perception/Documentation~/images/build_res.png

之前 之后
宽度: 1455  |  高度: 465  |  大小: 66 KiB

366
com.unity.perception/Documentation~/images/gameview_res.png

之前 之后
宽度: 692  |  高度: 946  |  大小: 147 KiB
正在加载...
取消
保存