浏览代码

Merge pull request #92 from Unity-Technologies/0.5.0-staging

0.5.0 staging
/main
GitHub 4 年前
当前提交
4f0a6f73
共有 5 个文件被更改,包括 20 次插入7 次删除
  1. 14
      com.unity.perception/CHANGELOG.md
  2. 6
      com.unity.perception/Documentation~/Tutorial/Phase1.md
  3. 2
      com.unity.perception/Documentation~/Tutorial/TUTORIAL.md
  4. 1
      com.unity.perception/Runtime/GroundTruth/PerceptionCamera.cs
  5. 4
      com.unity.perception/package.json

14
com.unity.perception/CHANGELOG.md


The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [Unreleased]
## Unreleased
### Added
### Changed
### Deprecated
### Removed
### Fixed
## [0.5.0-preview.1] - 2020-10-14
### Added

6
com.unity.perception/Documentation~/Tutorial/Phase1.md


As seen in the UI for `Perception Camera`, the list of `Camera Lebelers` is currently empty. For each type of ground-truth you wish to generate along-side your captured frames (e.g. 2D bounding boxes around objects), you will need to add a corresponding `Camera Labeler` to this list.
To speed-up your perception workflow, the Perception package comes with four common labelers for object-detection tasks; however, if you are comfortable with code, you can also add your own custom labelers. The labelers that come with the Perception package cover **2D bounding boxes, object counts, object information (pixel counts and ids), and semantic segmentation images (each object rendered in a unique colour)**.
To speed-up your perception workflow, the Perception package comes with five common labelers for object-detection tasks; however, if you are comfortable with code, you can also add your own custom labelers. The labelers that come with the Perception package cover **3D bounding boxes, 2D bounding boxes, object counts, object information (pixel counts and ids), and semantic segmentation images (each object rendered in a unique colour)**. We will use four of these in this tutorial.
* **Action**: Click on the _**+**_ button to the bottom right corner of the empty labeler list, and select `BoundingBox2DLabeler`.
* **Action**: Click on the _**+**_ button at the bottom right corner of the empty labeler list, and select `BoundingBox2DLabeler`.
* **Action**: Repeat the above step to add `ObjectCountLabeler`, `RenderedObjectInfoLabeler`, `SemanticSegmentationLabeler`.
Once you add the labelers, the _**Inspector**_ view of the `Perception Camera` component will look like this:

</p>
One of the useful features that comes with the `Perception Camera` component is the ability to display real-time visualizations of the labelers when your simulation is running. For instance, `BoundingBox2DLabeler` can display bounding boxes around the foreground objects that it tracks in real-time and `SemanticSegmentationLabeler` displays the semantic segmentation image overlaid on top of the camera's view . To enable this feature, make sure the `Show Labeler Visualizations` checkmark is enabled.
One of the useful features that comes with the `Perception Camera` component is the ability to display real-time visualizations of the labelers when your simulation is running. For instance, `BoundingBox2DLabeler` can display two-dimensional bounding boxes around the foreground objects that it tracks in real-time and `SemanticSegmentationLabeler` displays the semantic segmentation image overlaid on top of the camera's view . To enable this feature, make sure the `Show Labeler Visualizations` checkmark is enabled.
### <a name="step-4">Step 4: Specify Ground-Truth and Setup Object Labels</a>

2
com.unity.perception/Documentation~/Tutorial/TUTORIAL.md


* Use Dataset Insights to download and analyze your cloud-generated data.
[Continue to Phase 1: Setup and Basic Randomizations](Phase1.md)
**[Continue to Phase 1: Setup and Basic Randomizations](Phase1.md)**

1
com.unity.perception/Runtime/GroundTruth/PerceptionCamera.cs


GUI.skin.label.font = Resources.Load<Font>("Inter-Light");
GUI.skin.label.padding = new RectOffset(0, 0, 1, 1);
GUI.skin.label.margin = new RectOffset(0, 0, 1, 1);
GUI.skin.label.wordWrap = true;
GUI.skin.box.padding = new RectOffset(5, 5, 5, 5);
GUI.skin.toggle.margin = new RectOffset(0, 0, 0, 0);
GUI.skin.horizontalSlider.margin = new RectOffset(0, 0, 0, 0);

4
com.unity.perception/package.json


"displayName": "Perception",
"name": "com.unity.perception",
"unity": "2019.4",
"version": "0.4.0-preview.1",
"version": "0.5.0-preview.1",
"description": "These files accompamy the tutorial for the Perception Package, found at https://github.com/Unity-Technologies/com.unity.perception/blob/tutorial_sample_project/Tutorial/TUTORIAL.md",
"description": "These files accompany the tutorial for the Perception Package, found at https://github.com/Unity-Technologies/com.unity.perception/blob/tutorial_sample_project/Tutorial/TUTORIAL.md",
"path" : "Samples~/Tutorial Files"
}
]
正在加载...
取消
保存