Trying to get dominant emotion



any idea how to get the dominant emotion ??


That’s a great suggestion. We currently do not have metrics for dominant emotion. I will add this to the feature requests list. Thanks!


any idea on how to implement it ?


I think you can sort the emotion values per frame and then figure out the dominant emotion. Since the Face object return emotion values as float, it should be highly unlikely to get two emotion having the same value for a frame.

We do have a dominant emoji classifier if you want to take a look at this.