Emotion

public struct Emotion

Emotion identified in an entity(faces/celebrities) as a result of identify() API with associated EmotionType and confidence value

  • Declaration

    Swift

    public let emotion: Kind
  • Declaration

    Swift

    public let confidence: Double
  • Declaration

    Swift

    public init(
        emotion: Kind,
        confidence: Double
    )
  • Different emotion types returned as a result of identify() API call

    See more

    Declaration

    Swift

    public struct Kind : Equatable