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

Class: Aws::Rekognition::Types::CompareFacesMatch

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

Overview

Provides information about a face in a target image that matches the source image face analysed by CompareFaces. The Face property contains the bounding box of the face in the target image. The Similarity property is the confidence that the source image face matches the face in the bounding box.

Instance Attribute Summary collapse

Instance Attribute Details

#faceTypes::ComparedFace

Provides face metadata (bounding box and confidence that the bounding box actually contains a face).

Returns:



205
206
207
208
209
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 205

class CompareFacesMatch < Struct.new(
  :similarity,
  :face)
  include Aws::Structure
end

#similarityFloat

Level of confidence that the faces match.

Returns:

  • (Float)


205
206
207
208
209
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 205

class CompareFacesMatch < Struct.new(
  :similarity,
  :face)
  include Aws::Structure
end