浏览代码

#52: Automatically Enable KeypointLabeler Visualization

make keypointlabeler auto enabled in play mode
/0.9.0.preview.1_staging
Aryan Mann 3 年前
当前提交
b98d1877
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 4
      com.unity.perception/Runtime/GroundTruth/Labelers/KeypointLabeler.cs

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


m_AnnotationDefinition = DatasetCapture.RegisterAnnotationDefinition("keypoints", new []{TemplateToJson(activeTemplate)},
"pixel coordinates of keypoints in a model, along with skeletal connectivity data", id: new Guid(annotationId));
visualizationEnabled = supportsVisualization;
// Texture to use in case the template does not contain a texture for the joints or the skeletal connections
m_MissingTexture = new Texture2D(1, 1);

return json;
}
}
}
}
正在加载...
取消
保存