Interface FaceFrameOrBuilder (2.12.0)

public interface FaceFrameOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNormalizedBoundingBoxes(int index)

public abstract NormalizedBoundingBox getNormalizedBoundingBoxes(int index)

Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.

repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NormalizedBoundingBox

getNormalizedBoundingBoxesCount()

public abstract int getNormalizedBoundingBoxesCount()

Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.

repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;

Returns
TypeDescription
int

getNormalizedBoundingBoxesList()

public abstract List<NormalizedBoundingBox> getNormalizedBoundingBoxesList()

Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.

repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;

Returns
TypeDescription
List<NormalizedBoundingBox>

getNormalizedBoundingBoxesOrBuilder(int index)

public abstract NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxesOrBuilder(int index)

Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.

repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NormalizedBoundingBoxOrBuilder

getNormalizedBoundingBoxesOrBuilderList()

public abstract List<? extends NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxesOrBuilderList()

Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.

repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;

Returns
TypeDescription
List<? extends com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>

getTimeOffset()

public abstract Duration getTimeOffset()

Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.

.google.protobuf.Duration time_offset = 2;

Returns
TypeDescription
Duration

The timeOffset.

getTimeOffsetOrBuilder()

public abstract DurationOrBuilder getTimeOffsetOrBuilder()

Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.

.google.protobuf.Duration time_offset = 2;

Returns
TypeDescription
DurationOrBuilder

hasTimeOffset()

public abstract boolean hasTimeOffset()

Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.

.google.protobuf.Duration time_offset = 2;

Returns
TypeDescription
boolean

Whether the timeOffset field is set.