From 41d0f89fd1c62d2336397bac3356b354a3e13dea Mon Sep 17 00:00:00 2001 From: Prianka Liz Kariat Date: Fri, 26 May 2023 21:06:29 +0530 Subject: [PATCH] Updated variable names in MPPHandLandmarkerOptionsHelpers --- .../utils/sources/MPPHandLandmarkerOptions+Helpers.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mediapipe/tasks/ios/vision/hand_landmarker/utils/sources/MPPHandLandmarkerOptions+Helpers.mm b/mediapipe/tasks/ios/vision/hand_landmarker/utils/sources/MPPHandLandmarkerOptions+Helpers.mm index 718698698..61061f6e9 100644 --- a/mediapipe/tasks/ios/vision/hand_landmarker/utils/sources/MPPHandLandmarkerOptions+Helpers.mm +++ b/mediapipe/tasks/ios/vision/hand_landmarker/utils/sources/MPPHandLandmarkerOptions+Helpers.mm @@ -36,7 +36,7 @@ using HandLandmarksDetectorGraphOptionsProto = - (void)copyToProto:(CalculatorOptionsProto *)optionsProto { HandLandmarkerGraphOptionsProto *handLandmarkerGraphOptionsProto = optionsProto - ->MutableExtension(HandLandmarkerGraphOptionsProto::ext) + ->MutableExtension(HandLandmarkerGraphOptionsProto::ext); handLandmarkerGraphOptionsProto->Clear(); [self.baseOptions copyToProto:handLandmarkerGraphOptionsProto->mutable_base_options() @@ -47,7 +47,7 @@ using HandLandmarksDetectorGraphOptionsProto = HandDetectorGraphOptionsProto *handDetectorGraphOptionsProto = handLandmarkerGraphOptionsProto->mutable_hand_detector_graph_options(); handDetectorGraphOptionsProto->Clear(); - handDetectorGraphOptionsProto->set_num_hands(self.numberOfHands); + handDetectorGraphOptionsProto->set_num_hands(self.numHands); handDetectorGraphOptionsProto->set_min_detection_confidence(self.minHandDetectionConfidence); HandLandmarksDetectorGraphOptionsProto *handLandmarksDetectorGraphOptionsProto =