FaceResult #228
FaceResult
#228
-
Any specific reason why gender, emotion and race is not typed? I can't see what their values could be from the docs, think it used to be there, but not anymore, or am I looking in the wrong place? |
Beta Was this translation helpful? Give feedback.
Answered by
vladmandic
Dec 15, 2021
Replies: 1 comment 1 reply
-
No reason, I just haven't been tidy with strong typing string enums until recently export type { Emotion, Finger, FingerCurl, FingerDirection, HandType, Gender, Race, FaceLandmark, BodyLandmark, BodyAnnotation, ObjectType } from './result'; |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
vladmandic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No reason, I just haven't been tidy with strong typing string enums until recently
I've just added typedefs for all remaining string enums in
results
: