From 7c45bc802fcc0a4b300d9b7d319867ad6ff89706 Mon Sep 17 00:00:00 2001 From: Prianka Liz Kariat Date: Mon, 23 Oct 2023 20:02:57 +0530 Subject: [PATCH] Added iOS Image Segmenter to CocoaPods build --- mediapipe/tasks/ios/BUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mediapipe/tasks/ios/BUILD b/mediapipe/tasks/ios/BUILD index 7f3db7f7a..88b99ffec 100644 --- a/mediapipe/tasks/ios/BUILD +++ b/mediapipe/tasks/ios/BUILD @@ -57,6 +57,7 @@ CALCULATORS_AND_GRAPHS = [ "//mediapipe/tasks/cc/vision/hand_landmarker:hand_landmarker_graph", "//mediapipe/tasks/cc/vision/gesture_recognizer:gesture_recognizer_graph", "//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", ] @@ -83,6 +84,7 @@ strip_api_include_path_prefix( "//mediapipe/tasks/ios/text/text_embedder:sources/MPPTextEmbedderResult.h", "//mediapipe/tasks/ios/vision/core:sources/MPPRunningMode.h", "//mediapipe/tasks/ios/vision/core:sources/MPPImage.h", + "//mediapipe/tasks/ios/vision/core:sources/MPPMask.h", "//mediapipe/tasks/ios/vision/face_detector:sources/MPPFaceDetector.h", "//mediapipe/tasks/ios/vision/face_detector:sources/MPPFaceDetectorOptions.h", "//mediapipe/tasks/ios/vision/face_detector:sources/MPPFaceDetectorResult.h", @@ -98,6 +100,9 @@ strip_api_include_path_prefix( "//mediapipe/tasks/ios/vision/image_classifier:sources/MPPImageClassifier.h", "//mediapipe/tasks/ios/vision/image_classifier:sources/MPPImageClassifierOptions.h", "//mediapipe/tasks/ios/vision/image_classifier:sources/MPPImageClassifierResult.h", + "//mediapipe/tasks/ios/vision/image_segmenter:sources/MPPImageSegmenter.h", + "//mediapipe/tasks/ios/vision/image_segmenter:sources/MPPImageSegmenterOptions.h", + "//mediapipe/tasks/ios/vision/image_segmenter:sources/MPPImageSegmenterResult.h", "//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", @@ -178,6 +183,7 @@ apple_static_xcframework( ":MPPTaskOptions.h", ":MPPTaskResult.h", ":MPPImage.h", + ":MPPMask.h", ":MPPRunningMode.h", ":MPPFaceDetector.h", ":MPPFaceDetectorOptions.h", @@ -188,6 +194,9 @@ apple_static_xcframework( ":MPPImageClassifier.h", ":MPPImageClassifierOptions.h", ":MPPImageClassifierResult.h", + ":MPPImageSegmenter.h", + ":MPPImageSegmenterOptions.h", + ":MPPImageSegmenterResult.h", ":MPPHandLandmarker.h", ":MPPHandLandmarkerOptions.h", ":MPPHandLandmarkerResult.h", @@ -204,6 +213,7 @@ apple_static_xcframework( "//mediapipe/tasks/ios/vision/gesture_recognizer:MPPGestureRecognizer", "//mediapipe/tasks/ios/vision/hand_landmarker:MPPHandLandmarker", "//mediapipe/tasks/ios/vision/image_classifier:MPPImageClassifier", + "//mediapipe/tasks/ios/vision/image_segmenter:MPPImageSegmenter", "//mediapipe/tasks/ios/vision/object_detector:MPPObjectDetector", ], )