浏览代码

incorporating PR feedback

/main
Mohsen Kamalzadeh 4 年前
当前提交
842d3542
共有 2 个文件被更改,包括 6 次插入2 次删除
  1. 6
      com.unity.perception/CHANGELOG.md
  2. 2
      com.unity.perception/Runtime/GroundTruth/Labelers/KeyPointLabeler.cs

6
com.unity.perception/CHANGELOG.md


### Upgrade Notes
All appearances of the term `KeyPoint` have been renamed to `Keypoint`. Therefore the following steps will be required after upgrading to this version:
* If you have code that relies on any renamed types or names, alter your code to reflect the new names.
* If you are using custom `KeypointTemplate` assets besides the provided `CocoKeypointTemplate`, open those assets in a text editor and change the `keyPoints:` line to `keypoints:`, then save the file.
### Known Issues
### Added

Renamed all types and members named "KeyPoint" to "Keypoint"
Renamed all appearances of the term `KeyPoint` within types and names to `Keypoint`.
### Deprecated

2
com.unity.perception/Runtime/GroundTruth/Labelers/KeyPointLabeler.cs


protected override void Setup()
{
if (idLabelConfig == null)
throw new InvalidOperationException($"{GetType().Name}'s idLabelConfig field must be assigned");
throw new InvalidOperationException($"{nameof(KeypointLabeler)}'s idLabelConfig field must be assigned");
m_AnnotationDefinition = DatasetCapture.RegisterAnnotationDefinition("keypoints", new []{TemplateToJson(activeTemplate)},
"pixel coordinates of keypoints in a model, along with skeletal connectivity data", id: new Guid(annotationId));

正在加载...
取消
保存