您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
20 行
647 B
20 行
647 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace UnityEngine.Perception.GroundTruth.Exporters
|
|
{
|
|
public interface IDatasetExporter
|
|
{
|
|
string GetRgbCaptureFilename(params(string, object)[] additionalSensorValues);
|
|
|
|
void OnSimulationBegin(string directoryName);
|
|
void OnSimulationEnd();
|
|
|
|
void OnAnnotationRegistered<TSpec>(Guid annotationId, TSpec[] values);
|
|
|
|
Task ProcessPendingCaptures(List<SimulationState.PendingCapture> pendingCaptures, SimulationState simState);
|
|
|
|
Task OnCaptureReported(int frame, int width, int height, string filename);
|
|
}
|
|
}
|