diff --git a/mediapipe/tasks/ios/test/vision/gesture_recognizer/utils/sources/MPPGestureRecognizerResult+ProtobufHelpers.mm b/mediapipe/tasks/ios/test/vision/gesture_recognizer/utils/sources/MPPGestureRecognizerResult+ProtobufHelpers.mm index 7cb1de12..6bbade94 100644 --- a/mediapipe/tasks/ios/test/vision/gesture_recognizer/utils/sources/MPPGestureRecognizerResult+ProtobufHelpers.mm +++ b/mediapipe/tasks/ios/test/vision/gesture_recognizer/utils/sources/MPPGestureRecognizerResult+ProtobufHelpers.mm @@ -42,9 +42,8 @@ using ::mediapipe::tasks::ios::test::vision::utils::get_proto_from_pbtxt; } if (removeZPosition) { - // Remove z position of landmarks, because they are not used in correctness - // testing. For video or live stream mode, the z positions varies a lot during - // tracking from frame to frame. + // Remove z position of landmarks, because they are not used in correctness testing. For video + // or live stream mode, the z positions varies a lot during tracking from frame to frame. for (int i = 0; i < landmarkDetectionResultProto.landmarks().landmark().size(); i++) { auto &landmark = *landmarkDetectionResultProto.mutable_landmarks()->mutable_landmark(i); landmark.clear_z();