You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Rekognition::Types::GetFaceDetectionResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb

Instance Attribute Summary collapse

Instance Attribute Details

#facesArray<Types::FaceDetection>

An array of faces detected in the video. Each element contains a detected face's details and the time, in milliseconds from the start of the video, the face was detected.

Returns:



1405
1406
1407
1408
1409
1410
1411
1412
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1405

class GetFaceDetectionResponse < Struct.new(
  :job_status,
  :status_message,
  :video_metadata,
  :next_token,
  :faces)
  include Aws::Structure
end

#job_statusString

The current status of the face detection job.

Returns:

  • (String)


1405
1406
1407
1408
1409
1410
1411
1412
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1405

class GetFaceDetectionResponse < Struct.new(
  :job_status,
  :status_message,
  :video_metadata,
  :next_token,
  :faces)
  include Aws::Structure
end

#next_tokenString

If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.

Returns:

  • (String)


1405
1406
1407
1408
1409
1410
1411
1412
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1405

class GetFaceDetectionResponse < Struct.new(
  :job_status,
  :status_message,
  :video_metadata,
  :next_token,
  :faces)
  include Aws::Structure
end

#status_messageString

If the job fails, StatusMessage provides a descriptive error message.

Returns:

  • (String)


1405
1406
1407
1408
1409
1410
1411
1412
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1405

class GetFaceDetectionResponse < Struct.new(
  :job_status,
  :status_message,
  :video_metadata,
  :next_token,
  :faces)
  include Aws::Structure
end

#video_metadataTypes::VideoMetadata

Information about a video that Rekognition Video analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition video operation.



1405
1406
1407
1408
1409
1410
1411
1412
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1405

class GetFaceDetectionResponse < Struct.new(
  :job_status,
  :status_message,
  :video_metadata,
  :next_token,
  :faces)
  include Aws::Structure
end