ObjectDetectionResult

public abstract class ObjectDetectionResult
Known Direct Subclasses

This class is deprecated.
Use ObjectDetectorResult instead.

Represents the detection results generated by ObjectDetector.

Public Constructors

Public Methods

static ObjectDetectionResult
create(List<Detection> detectionList, long timestampMs)
This method is deprecated. Use ObjectDetectorResult.create(List<Detection>, long) instead.
abstract List<Detection>
abstract long
timestampMs()
Returns the timestamp that is associated with the task result object.

Inherited Methods

Public Constructors

public ObjectDetectionResult ()

Public Methods

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

This method is deprecated.
Use ObjectDetectorResult.create(List<Detection>, long) instead.

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