ObjectDetectionResult

公共抽象类 ObjectDetectionResult
已知的直接子类

该类已废弃
请改用 ObjectDetectorResult

表示 ObjectDetector 生成的检测结果。

公共构造函数

公共方法

静态 ObjectDetectionResult
createList<Detection> detectedList, long timestampMs)
此方法已废弃。请改用 ObjectDetectorResult.create(List<Detection>, long)
abstract 列表<Detection>
abstract long
timestampMs()
返回与任务结果对象关联的时间戳。

继承的方法

公共构造函数

public ObjectDetectionResult ()

公共方法

public static ObjectDetectionResult create (List<Detection> detectedList, long timestampMs)

此方法已废弃
请改用 ObjectDetectorResult.create(List<Detection>, long)

根据 ERROR(/Detection) protobuf 消息列表创建 ObjectDetectionResult 实例。

参数
detectionList ERROR(/DetectionOuterClass.Detection) protobuf 消息的列表。
timestampMs 此结果的时间戳。

public abstract List<Detection> detections ()

public abstract long timestampMs ()

返回与任务结果对象关联的时间戳。