Updated variable names in MPPHandLandmarkerOptionsHelpers
This commit is contained in:
+2
-2
@@ -36,7 +36,7 @@ using HandLandmarksDetectorGraphOptionsProto =
|
|||||||
- (void)copyToProto:(CalculatorOptionsProto *)optionsProto {
|
- (void)copyToProto:(CalculatorOptionsProto *)optionsProto {
|
||||||
HandLandmarkerGraphOptionsProto *handLandmarkerGraphOptionsProto =
|
HandLandmarkerGraphOptionsProto *handLandmarkerGraphOptionsProto =
|
||||||
optionsProto
|
optionsProto
|
||||||
->MutableExtension(HandLandmarkerGraphOptionsProto::ext)
|
->MutableExtension(HandLandmarkerGraphOptionsProto::ext);
|
||||||
handLandmarkerGraphOptionsProto->Clear();
|
handLandmarkerGraphOptionsProto->Clear();
|
||||||
|
|
||||||
[self.baseOptions copyToProto:handLandmarkerGraphOptionsProto->mutable_base_options()
|
[self.baseOptions copyToProto:handLandmarkerGraphOptionsProto->mutable_base_options()
|
||||||
@@ -47,7 +47,7 @@ using HandLandmarksDetectorGraphOptionsProto =
|
|||||||
HandDetectorGraphOptionsProto *handDetectorGraphOptionsProto =
|
HandDetectorGraphOptionsProto *handDetectorGraphOptionsProto =
|
||||||
handLandmarkerGraphOptionsProto->mutable_hand_detector_graph_options();
|
handLandmarkerGraphOptionsProto->mutable_hand_detector_graph_options();
|
||||||
handDetectorGraphOptionsProto->Clear();
|
handDetectorGraphOptionsProto->Clear();
|
||||||
handDetectorGraphOptionsProto->set_num_hands(self.numberOfHands);
|
handDetectorGraphOptionsProto->set_num_hands(self.numHands);
|
||||||
handDetectorGraphOptionsProto->set_min_detection_confidence(self.minHandDetectionConfidence);
|
handDetectorGraphOptionsProto->set_min_detection_confidence(self.minHandDetectionConfidence);
|
||||||
|
|
||||||
HandLandmarksDetectorGraphOptionsProto *handLandmarksDetectorGraphOptionsProto =
|
HandLandmarksDetectorGraphOptionsProto *handLandmarksDetectorGraphOptionsProto =
|
||||||
|
|||||||
Reference in New Issue
Block a user