# Cloud Video Intelligence V1beta2 API - Class Google::Cloud::VideoIntelligence::V1beta2::FaceAnnotation (v0.17.0)

0.17.0 (latest) 0.16.0 0.15.1 0.14.0 0.13.0 0.12.1 0.11.0 0.10.2 0.9.2 0.8.0 0.7.1 0.6.0 0.5.0 0.4.5 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1beta2/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1beta2/latest/Google-Cloud-VideoIntelligence-V1beta2-FaceFrame)\>) --- All video frames where a face was detected.
**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1beta2::FaceFrame](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1beta2/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1beta2/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1beta2/latest/Google-Cloud-VideoIntelligence-V1beta2-FaceSegment)\>) --- All video segments where a face was detected.
**Returns**

- (::Array\<[::Google::Cloud::VideoIntelligence::V1beta2::FaceSegment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1beta2/latest/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).