浏览代码

Update PerceptionCamera.cs

/pyrception-integration
GitHub 3 年前
当前提交
f6d16d94
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 5
      com.unity.perception/Runtime/GroundTruth/PerceptionCamera.cs

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


inMatrix[2,0],inMatrix[2,1], inMatrix[2,2]);
}
int m_CaptureCount = 0;
void CaptureRgbData(Camera cam)
{
if (!captureRgbImages)

#else
CaptureCamera.Capture(cam, colorFunctor, flipY: flipY);
#endif
DatasetCapture.AddMetadata("image_width", attachedCamera.pixelWidth);
DatasetCapture.AddMetadata("image_height", attachedCamera.pixelHeight);
DatasetCapture.AddMetadata("dataset_size", ++m_CaptureCount);
Profiler.EndSample();
}

正在加载...
取消
保存