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

DetectFacesResponse

import type { DetectFacesResponse } from "https://aws-api.deno.dev/v0.4/services/rekognition.ts?docs=full";
interface DetectFacesResponse {
FaceDetails?: FaceDetail[] | null;
OrientationCorrection?: OrientationCorrection | null;
}

§Properties

§
FaceDetails?: FaceDetail[] | null
[src]

Details of each face found in the image.

§
OrientationCorrection?: OrientationCorrection | null
[src]

The value of OrientationCorrection 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.