Last active
March 14, 2018 12:02
-
-
Save rnrneverdies/d443cef2d0e869b6128f3b036caa2f3d to your computer and use it in GitHub Desktop.
Results structure and gobal variable declarations for the Windows Machine Learning, EmotionRecognition sample.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class EmotionRecognizer | |
{ | |
public class Results | |
{ | |
public float Neutral { get; set; } | |
public float Happiness { get; set; } | |
public float Surprise { get; set; } | |
public float Sadness { get; set; } | |
public float Anger { get; set; } | |
public float Disgust { get; set; } | |
public float Fear { get; set; } | |
public float Contempt { get; set; } | |
} | |
// model and in/out tensor descriptions | |
private LearningModelPreview model = null; | |
private ImageVariableDescriptorPreview inputImageDescriptor; | |
private TensorVariableDescriptorPreview outputTensorDescriptor; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment