ObjectDetectorResult

public abstract class ObjectDetectorResult

Represents the detection results generated by ObjectDetector.

Public Constructors

Public Methods

static ObjectDetectorResult
create(List<Detection> detectionList, long timestampMs)
Creates an ObjectDetectorResult instance from a list of ERROR(/Detection) protobuf messages.

Inherited Methods

Public Constructors

public ObjectDetectorResult ()

Public Methods

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

Creates an ObjectDetectorResult 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.