Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CompareFacesResponse

import type { CompareFacesResponse } from "https://aws-api.deno.dev/v0.4/services/rekognition.ts?docs=full";
interface CompareFacesResponse {
FaceMatches?: CompareFacesMatch[] | null;
SourceImageFace?: ComparedSourceImageFace | null;
SourceImageOrientationCorrection?: OrientationCorrection | null;
TargetImageOrientationCorrection?: OrientationCorrection | null;
UnmatchedFaces?: ComparedFace[] | null;
}

§Properties

§
FaceMatches?: CompareFacesMatch[] | null
[src]

An array of faces in the target image that match the source image face. Each CompareFacesMatch object provides the bounding box, the confidence level that the bounding box contains a face, and the similarity score for the face in the bounding box and the face in the source image.

§
SourceImageFace?: ComparedSourceImageFace | null
[src]

The face in the source image that was used for comparison.

§
SourceImageOrientationCorrection?: OrientationCorrection | null
[src]

The value of SourceImageOrientationCorrection is always null.

If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.

§
TargetImageOrientationCorrection?: OrientationCorrection | null
[src]

The value of TargetImageOrientationCorrection is always null.

If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.

§
UnmatchedFaces?: ComparedFace[] | null
[src]

An array of faces in the target image that did not match the source image face.