Skip to content

Commit

Permalink
Added iOS language detector to Cocoapods build
Browse files Browse the repository at this point in the history
  • Loading branch information
priankakariatyml committed Dec 22, 2023
1 parent 9f27248 commit a0c482f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mediapipe/tasks/ios/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ strip_api_include_path_prefix(
"//mediapipe/tasks/ios/text/text_embedder:sources/MPPTextEmbedder.h",
"//mediapipe/tasks/ios/text/text_embedder:sources/MPPTextEmbedderOptions.h",
"//mediapipe/tasks/ios/text/text_embedder:sources/MPPTextEmbedderResult.h",
"//mediapipe/tasks/ios/text/language_detector:sources/MPPLanguageDetector.h",
"//mediapipe/tasks/ios/text/language_detector:sources/MPPLanguageDetectorOptions.h",
"//mediapipe/tasks/ios/text/language_detector:sources/MPPLanguageDetectorResult.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",
Expand Down Expand Up @@ -143,10 +146,14 @@ apple_static_xcframework(
":MPPTextEmbedder.h",
":MPPTextEmbedderOptions.h",
":MPPTextEmbedderResult.h",
":MPPLanguageDetector.h",
":MPPLanguageDetectorOptions.h",
":MPPLanguageDetectorResult.h",
],
deps = [
"//mediapipe/tasks/ios/text/text_classifier:MPPTextClassifier",
"//mediapipe/tasks/ios/text/text_embedder:MPPTextEmbedder",
"//mediapipe/tasks/ios/text/language_detector:MPPLanguageDetector",
],
)

Expand Down

0 comments on commit a0c482f

Please sign in to comment.