Reference documentation and code samples for the Cloud Video Intelligence V1beta2 API class Google::Cloud::VideoIntelligence::V1beta2::FaceAnnotation.
Face annotation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#frames
def frames() -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceFrame>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceFrame>) — All video frames where a face was detected.
#frames=
def frames=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceFrame>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceFrame>) — All video frames where a face was detected.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceFrame>) — All video frames where a face was detected.
#segments
def segments() -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceSegment>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceSegment>) — All video segments where a face was detected.
#segments=
def segments=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceSegment>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceSegment>) — All video segments where a face was detected.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1beta2::FaceSegment>) — All video segments where a face was detected.
#thumbnail
def thumbnail() -> ::String
Returns
- (::String) — Thumbnail of a representative face view (in JPEG format).
#thumbnail=
def thumbnail=(value) -> ::String
Parameter
- value (::String) — Thumbnail of a representative face view (in JPEG format).
Returns
- (::String) — Thumbnail of a representative face view (in JPEG format).