FaceDetectorResult

public abstract class FaceDetectorResult

表示 FaceDetector 生成的检测结果。

公共构造函数

公共方法

静态 FaceDetectorResult
createList<Detection> detectedList, long timestampMs)
根据 ERROR(/Detection) protobuf 消息列表创建 FaceDetectorResult 实例。
abstract 列表<Detection>
abstract long
timestampMs()
返回与任务结果对象关联的时间戳。

继承的方法

公共构造函数

public FaceDetectorResult ()

公共方法

public static FaceDetectorResult create (List<Detection> detectionList, long timestampMs)

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

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

public abstract List<Detection> detections ()

public abstract long timestampMs ()

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