GestureRecognizerResult
class GestureRecognizerResult : TaskResultRepresents the gesture recognition results generated by GestureRecognizer.
- 
                  
                  Hand landmarks of detected hands. DeclarationSwift var landmarks: [[NormalizedLandmark]] { get }
- 
                  
                  Hand landmarks in world coordinates of detected hands. DeclarationSwift var worldLandmarks: [[Landmark]] { get }
- 
                  
                  Handedness of detected hands. DeclarationSwift var handedness: [[ResultCategory]] { get }
- 
                  
                  Recognized hand gestures of detected hands. Note that the index of the gesture is always -1, because the raw indices from multiple gesture classifiers cannot consolidate to a meaningful index. DeclarationSwift var gestures: [[ResultCategory]] { get }
- 
                  
                  Initializes a new GestureRecognizerResultwith the given landmarks, world landmarks, handedness, gestures and timestamp (in milliseconds).DeclarationSwift init(gestures: [[ResultCategory]], handedness: [[ResultCategory]], landmarks: [[NormalizedLandmark]], worldLandmarks: [[Landmark]], timestampInMilliseconds: Int)ParameterslandmarksThe hand landmarks of detected hands. worldLandmarksThe hand landmarks in world coordinates of detected hands. handednessThe recognized hand gestures of detected hands. handednessThe recognized hand gestures of detected hands. timestampInMillisecondsThe timestamp for this result. Return ValueAn instance of GestureRecognizerResultinitialized with the given landmarks, world landmarks, handedness and gestures.