Updated image segmenter bazel target to add MPPImageSegmenter.mm

This commit is contained in:
Prianka Liz Kariat 2023-08-31 14:22:17 +05:30
parent 0863d8def5
commit 5a1564e04c

View File

@ -38,10 +38,24 @@ objc_library(
objc_library( objc_library(
name = "MPPImageSegmenter", name = "MPPImageSegmenter",
hdrs = ["sources/MPPImageSegmenterOptions.h"], hdrs = ["sources/MPPImageSegmenter.h"],
srcs = ["sources/MPPImageSegmenter.mm"],
copts = [
"-ObjC++",
"-std=c++17",
"-x objective-c++",
],
module_name = "MPPImageSegmenter",
deps = [ deps = [
":MPPImageSegmenterOptions", ":MPPImageSegmenterOptions",
":MPPImageSegmenterResult", ":MPPImageSegmenterResult",
"//mediapipe/tasks/ios/vision/core:MPPImage", "//mediapipe/tasks/ios/vision/core:MPPImage",
"//mediapipe/tasks/cc/vision/image_segmenter:image_segmenter_graph",
"//mediapipe/tasks/ios/common/utils:MPPCommonUtils",
"//mediapipe/tasks/ios/common/utils:NSStringHelpers",
"//mediapipe/tasks/ios/core:MPPTaskInfo",
"//mediapipe/tasks/ios/vision/core:MPPVisionTaskRunnerRefactored",
"//mediapipe/tasks/ios/vision/image_segmenter/utils:MPPImageSegmenterOptionsHelpers",
"//mediapipe/tasks/ios/vision/image_segmenter/utils:MPPImageSegmenterResultHelpers",
], ],
) )