FaceDetectorResult

public abstract class FaceDetectorResult

Represents the detection results generated by FaceDetector.

Public Constructors

Public Methods

static FaceDetectorResult
create(List<Detection> detectionList, long timestampMs)
Creates an FaceDetectorResult instance from a list of ERROR(/Detection) protobuf messages.
abstract List<Detection>
abstract long
timestampMs()
Returns the timestamp that is associated with the task result object.

Inherited Methods

Public Constructors

public FaceDetectorResult ()

Public Methods

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

Creates an FaceDetectorResult instance from a list of ERROR(/Detection) protobuf messages.

Parameters
detectionList a list of ERROR(/DetectionOuterClass.Detection) protobuf messages.
timestampMs a timestamp for this result.

public abstract List<Detection> detections ()

public abstract long timestampMs ()

Returns the timestamp that is associated with the task result object.