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

Emotion

import type { Emotion } from "https://aws-api.deno.dev/v0.3/services/rekognition.ts?docs=full";

The emotions that appear to be expressed on the face, and the confidence level in the determination. The API is only making a determination of the physical appearance of a person's face. It is not a determination of the person’s internal emotional state and should not be used in such a way. For example, a person pretending to have a sad face might not be sad emotionally.

interface Emotion {
Confidence?: number | null;
Type?: EmotionName | null;
}

§Properties

§
Confidence?: number | null
[src]

Level of confidence in the determination.

§
Type?: EmotionName | null
[src]

Type of emotion detected.