Reference documentation and code samples for the Cloud Video Intelligence V1beta2 API class Google::Cloud::VideoIntelligence::V1beta2::FaceFrame.
Video frame level annotation results for face detection.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#normalized_bounding_boxes
def normalized_bounding_boxes() -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::NormalizedBoundingBox>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::NormalizedBoundingBox>) — 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.
#normalized_bounding_boxes=
def normalized_bounding_boxes=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::NormalizedBoundingBox>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1beta2::NormalizedBoundingBox>) — 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.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::NormalizedBoundingBox>) — 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.
#time_offset
def time_offset() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
#time_offset=
def time_offset=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
Returns
- (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.