# GestureRecognizerResult

    class GestureRecognizerResult: TaskResult, NSCopying

Represents the gesture recognition results generated by `GestureRecognizer`.
- `
  ### [init(gestures:handedness:landmarks:worldLandmarks:timestampInMilliseconds:)](https://developers.google.com/edge/api/mediapipe/swift/vision/Classes/GestureRecognizerResult.md.txt#/c:objc(cs)MPPGestureRecognizerResult(im)initWithGestures:handedness:landmarks:worldLandmarks:timestampInMilliseconds:)

  ` Initializes a new `GestureRecognizerResult` with the given landmarks, world landmarks, handedness, gestures and timestamp (in milliseconds).

  #### Declaration

  Swift

      init(gestures: [[ResultCategory]], handedness: [[ResultCategory]], landmarks: [[NormalizedLandmark]], worldLandmarks: [[Landmark]], timestampInMilliseconds: Int)

  #### Parameters

  |---|---|
  | `landmarks` | The hand landmarks of detected hands. |
  | `worldLandmarks` | The hand landmarks in world coordinates of detected hands. |
  | `handedness` | The handedness of detected hands. |
  | `handedness` | The recognized hand gestures of detected hands. |
  | `timestampInMilliseconds` | The timestamp for this result. |

  #### Return Value

  An instance of `GestureRecognizerResult` initialized with the given landmarks, world landmarks, handedness and gestures.
- `
  ### [gestures](https://developers.google.com/edge/api/mediapipe/swift/vision/Classes/GestureRecognizerResult.md.txt#/c:objc(cs)MPPGestureRecognizerResult(py)gestures)

  ` 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.

  #### Declaration

  Swift

      var gestures: [[ResultCategory]] { get }

- `
  ### [handedness](https://developers.google.com/edge/api/mediapipe/swift/vision/Classes/GestureRecognizerResult.md.txt#/c:objc(cs)MPPGestureRecognizerResult(py)handedness)

  ` Handedness of detected hands. Note: Left and Right handedness correspond to the subject's hands, not the viewer. Passing a horizontally mirrored image will invert these outputs.

  #### Declaration

  Swift

      var handedness: [[ResultCategory]] { get }

- `
  ### [landmarks](https://developers.google.com/edge/api/mediapipe/swift/vision/Classes/GestureRecognizerResult.md.txt#/c:objc(cs)MPPGestureRecognizerResult(py)landmarks)

  ` Hand landmarks of detected hands.

  #### Declaration

  Swift

      var landmarks: [[NormalizedLandmark]] { get }

- `
  ### [worldLandmarks](https://developers.google.com/edge/api/mediapipe/swift/vision/Classes/GestureRecognizerResult.md.txt#/c:objc(cs)MPPGestureRecognizerResult(py)worldLandmarks)

  ` Hand landmarks in world coordinates of detected hands.

  #### Declaration

  Swift

      var worldLandmarks: [[Landmark]] { get }