From f5fbfae5aa59aa6a6e3c2e9cfecac5226e60813c Mon Sep 17 00:00:00 2001 From: Prianka Liz Kariat Date: Mon, 29 May 2023 19:42:22 +0530 Subject: [PATCH] Removed clearing of options --- .../utils/sources/MPPHandLandmarkerOptions+Helpers.mm | 2 -- 1 file changed, 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 61061f6e9..0c84b0d62 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 @@ -46,13 +46,11 @@ using HandLandmarksDetectorGraphOptionsProto = HandDetectorGraphOptionsProto *handDetectorGraphOptionsProto = handLandmarkerGraphOptionsProto->mutable_hand_detector_graph_options(); - handDetectorGraphOptionsProto->Clear(); handDetectorGraphOptionsProto->set_num_hands(self.numHands); handDetectorGraphOptionsProto->set_min_detection_confidence(self.minHandDetectionConfidence); HandLandmarksDetectorGraphOptionsProto *handLandmarksDetectorGraphOptionsProto = handLandmarkerGraphOptionsProto->mutable_hand_landmarks_detector_graph_options(); - handLandmarksDetectorGraphOptionsProto->Clear(); handLandmarksDetectorGraphOptionsProto->set_min_detection_confidence( self.minHandPresenceConfidence); }