浏览代码

Merge branch 'master' into fix_label_config_editor_indexing

/fix_label_config_editor_indexing
GitHub 3 年前
当前提交
0e170dc4
共有 8 个文件被更改,包括 44 次插入22 次删除
  1. 4
      README.md
  2. 14
      TestProjects/PerceptionHDRP/Packages/packages-lock.json
  3. 1
      TestProjects/PerceptionURP/Assets/Tests/Editor/PerceptionCameraEditorUrpTests.cs
  4. 14
      TestProjects/PerceptionURP/Packages/packages-lock.json
  5. 6
      com.unity.perception/CHANGELOG.md
  6. 8
      com.unity.perception/Runtime/GroundTruth/Labelers/KeypointLabeler.cs
  7. 4
      com.unity.perception/Tests/Editor/PerceptionCameraEditorTests.cs
  8. 15
      TestProjects/PerceptionURP/ProjectSettings/BurstAotSettings_StandaloneOSX.json

4
README.md


[![license badge](https://img.shields.io/badge/license-Apache--2.0-green.svg)](LICENSE.md)
<img src="https://img.shields.io/badge/unity-2019.4-green.svg?style=flat-square" alt="unity 2019.4">
<img src="https://img.shields.io/badge/unity-2020.3-green.svg?style=flat-square" alt="unity 2020.3">
<img src="https://img.shields.io/badge/unity-2020.2-green.svg?style=flat-square" alt="unity 2020.3">
> com.unity.perception is in active development. Its features and API are subject to significant change as development progresses.
> `com.unity.perception` is in active development. Its features and API are subject to significant change as development progresses.
# Perception Package ([Unity Computer Vision](https://unity.com/computer-vision))

14
TestProjects/PerceptionHDRP/Packages/packages-lock.json


"com.unity.collections": "0.9.0-preview.6",
"com.unity.nuget.newtonsoft-json": "1.1.2",
"com.unity.render-pipelines.core": "7.1.6",
"com.unity.simulation.capture": "0.0.10-preview.20",
"com.unity.simulation.capture": "0.0.10-preview.23",
"com.unity.simulation.client": "0.0.10-preview.10",
"com.unity.simulation.core": "0.0.10-preview.22"
}

"url": "https://packages.unity.com"
},
"com.unity.simulation.capture": {
"version": "0.0.10-preview.20",
"version": "0.0.10-preview.23",
"com.unity.simulation.core": "0.0.10-preview.22"
"com.unity.simulation.core": "0.0.10-preview.25"
},
"url": "https://packages.unity.com"
},

"url": "https://packages.unity.com"
},
"com.unity.simulation.core": {
"version": "0.0.10-preview.22",
"depth": 1,
"version": "0.0.10-preview.25",
"depth": 2,
"dependencies": {},
"dependencies": {
"com.unity.nuget.newtonsoft-json": "2.0.0-preview"
},
"url": "https://packages.unity.com"
},
"com.unity.test-framework": {

1
TestProjects/PerceptionURP/Assets/Tests/Editor/PerceptionCameraEditorUrpTests.cs


gameObject.SetActive(false);
gameObject.AddComponent<Camera>();
gameObject.AddComponent<UniversalAdditionalCameraData>();
var perceptionCamera = gameObject.AddComponent<PerceptionCamera>();
gameObject.SetActive(true);
LogAssert.Expect(LogType.Error, "GroundTruthRendererFeature must be present on the ScriptableRenderer associated with the camera. The ScriptableRenderer can be accessed through Edit -> Project Settings... -> Graphics -> Scriptable Render Pipeline Settings -> Renderer List.");

14
TestProjects/PerceptionURP/Packages/packages-lock.json


"com.unity.collections": "0.9.0-preview.6",
"com.unity.nuget.newtonsoft-json": "1.1.2",
"com.unity.render-pipelines.core": "7.1.6",
"com.unity.simulation.capture": "0.0.10-preview.20",
"com.unity.simulation.capture": "0.0.10-preview.23",
"com.unity.simulation.client": "0.0.10-preview.10",
"com.unity.simulation.core": "0.0.10-preview.22"
}

"url": "https://packages.unity.com"
},
"com.unity.simulation.capture": {
"version": "0.0.10-preview.20",
"version": "0.0.10-preview.23",
"com.unity.simulation.core": "0.0.10-preview.22"
"com.unity.simulation.core": "0.0.10-preview.25"
},
"url": "https://packages.unity.com"
},

"url": "https://packages.unity.com"
},
"com.unity.simulation.core": {
"version": "0.0.10-preview.22",
"depth": 1,
"version": "0.0.10-preview.25",
"depth": 2,
"dependencies": {},
"dependencies": {
"com.unity.nuget.newtonsoft-json": "2.0.0-preview"
},
"url": "https://packages.unity.com"
},
"com.unity.test-framework": {

6
com.unity.perception/CHANGELOG.md


### Added
User can now choose the base folder location to store their generated data.
The user can now choose the base folder location to store their generated datasets.
Changed the JSON serialization key of Normal Sampler's standard deviation property from "standardDeviation" to "stddev". Scenario JSON configurations that were generated using previous versions will need to be manually updated to reflect this change.
Changed the JSON serialization key of Normal Sampler's standard deviation property from "standardDeviation" to "stddev". Scneario JSON configurations that were generated using previous versions will need to be manually updated to reflect this change.
### Deprecated

### Upgrade Notes
### Known Issues
When using URP in OSX, having MSAA enabled on the camera while the post-processing option is disabled may cause the output RGB images to be blank. As a workaround, you can disable MSAA and use FXAA instead, until the issue is fixed.
### Added

8
com.unity.perception/Runtime/GroundTruth/Labelers/KeypointLabeler.cs


{
include = true;
break;
}
}
}
}
}
}
if (include)
m_KeypointEntriesToReport.Add(entry);
}

return json;
}
}
}
}

4
com.unity.perception/Tests/Editor/PerceptionCameraEditorTests.cs


using Moq;
using Moq.Protected;
using UnityEngine.Rendering;
#endif
namespace EditorTests

var camera = cameraObject.AddComponent<Camera>();
camera.orthographic = true;
camera.orthographicSize = 1;
#elif URP_PRESENT
cameraObject.AddComponent<UnityEngine.Rendering.Universal.UniversalAdditionalCameraData>();
#endif
var perceptionCamera = cameraObject.AddComponent<PerceptionCamera>();

15
TestProjects/PerceptionURP/ProjectSettings/BurstAotSettings_StandaloneOSX.json


{
"MonoBehaviour": {
"Version": 3,
"EnableBurstCompilation": true,
"EnableOptimisations": true,
"EnableSafetyChecks": false,
"EnableDebugInAllBuilds": false,
"UsePlatformSDKLinker": false,
"CpuMinTargetX32": 0,
"CpuMaxTargetX32": 0,
"CpuMinTargetX64": 0,
"CpuMaxTargetX64": 0,
"CpuTargetsX64": 72
}
}
正在加载...
取消
保存