From 28d62d55ac2b14a6f6fa46c9569be42df49de96c Mon Sep 17 00:00:00 2001 From: Prianka Liz Kariat Date: Mon, 4 Dec 2023 21:35:53 +0530 Subject: [PATCH] Added iOS Pose Landmarker to CocoaPods build --- mediapipe/tasks/ios/BUILD | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mediapipe/tasks/ios/BUILD b/mediapipe/tasks/ios/BUILD index 88b99ffec..c4512c097 100644 --- a/mediapipe/tasks/ios/BUILD +++ b/mediapipe/tasks/ios/BUILD @@ -59,6 +59,7 @@ CALCULATORS_AND_GRAPHS = [ "//mediapipe/tasks/cc/vision/image_classifier:image_classifier_graph", "//mediapipe/tasks/cc/vision/image_segmenter:image_segmenter_graph", "//mediapipe/tasks/cc/vision/object_detector:object_detector_graph", + "//mediapipe/tasks/cc/vision/pose_landmarker:pose_landmarker_graph", ] strip_api_include_path_prefix( @@ -106,6 +107,9 @@ strip_api_include_path_prefix( "//mediapipe/tasks/ios/vision/object_detector:sources/MPPObjectDetector.h", "//mediapipe/tasks/ios/vision/object_detector:sources/MPPObjectDetectorOptions.h", "//mediapipe/tasks/ios/vision/object_detector:sources/MPPObjectDetectorResult.h", + "//mediapipe/tasks/ios/vision/face_landmarker:sources/MPPPoseLandmarker.h", + "//mediapipe/tasks/ios/vision/face_landmarker:sources/MPPPoseLandmarkerOptions.h", + "//mediapipe/tasks/ios/vision/face_landmarker:sources/MPPPoseLandmarkerResult.h", ], ) @@ -206,6 +210,9 @@ apple_static_xcframework( ":MPPObjectDetector.h", ":MPPObjectDetectorOptions.h", ":MPPObjectDetectorResult.h", + ":MPPPoseLandmarker.h", + ":MPPPoseLandmarkerOptions.h", + ":MPPPoseLandmarkerResult.h", ], deps = [ "//mediapipe/tasks/ios/vision/face_detector:MPPFaceDetector", @@ -215,6 +222,7 @@ apple_static_xcframework( "//mediapipe/tasks/ios/vision/image_classifier:MPPImageClassifier", "//mediapipe/tasks/ios/vision/image_segmenter:MPPImageSegmenter", "//mediapipe/tasks/ios/vision/object_detector:MPPObjectDetector", + "//mediapipe/tasks/ios/vision/pose_landmarker:MPPPoseLandmarker", ], )