.NET API Documentation¶
EmotionsTracker class¶
-
class
EmotionDetection.
EmotionsTracker
¶ The Emotions Tracker class
-
EmotionsTracker
(string model_file, int max_concurrency)¶ EmotionsTracker constructor: loads model file, sets up the processing.
- Parameters:
model_file (string) – path for the used model
max_concurrency (int) – maximum allowed concurrency, 0 means automatic (using all cores), default: 0
-
TrackEmotions
(ImageHeader img_hdr)¶ Track the emotions on a given image
- Parameters:
image (ImageHeader) – image to analyze
- Return type:
-
ImageFormat¶
ImageHeader class¶
Result classes¶
-
class
EmotionDetection.
ResultOrError
¶ Contains the result or the error information for a tracking.
-
Results
: EmotironResults¶ Contains the results of a tracking. In case of error it will be null.
-
Error
: string¶ String representation of error. In case of no error it will be null.
-
-
class
EmotionDetection.
EmotionResults
¶ Contains the results after a successful tracking
-
landmarks
: LandmarkData¶
-
emotions
: EmotionData[]¶
-
-
class
EmotionDetection.
LandmarkData
¶ Contains information about a specific landmark
-
scale
: double¶
-
roll
: double¶
-
yaw
: double¶
-
pitch
: double¶
-
translate
: Point2d¶
-
landmarks2d
: Point2d[]¶
-
landmarks3d
: Point3d[]¶
-
bool isGood
-