Class EmotionResult<T>
- Namespace
- AiDotNet.Interfaces
- Assembly
- AiDotNet.dll
Represents the result of emotion recognition.
public class EmotionResult<T>
Type Parameters
TThe numeric type.
- Inheritance
-
EmotionResult<T>
- Derived
- Inherited Members
Properties
Arousal
Gets the arousal level (-1.0 to 1.0).
public T? Arousal { get; init; }
Property Value
- T
Confidence
Gets the confidence score (0.0 to 1.0).
public required T Confidence { get; init; }
Property Value
- T
Emotion
Gets the primary detected emotion.
public required string Emotion { get; init; }
Property Value
SecondaryEmotion
Gets the secondary emotion (if detected with significant confidence).
public string? SecondaryEmotion { get; init; }
Property Value
Valence
Gets the valence level (-1.0 to 1.0).
public T? Valence { get; init; }
Property Value
- T