Updated image segmenter bazel target to add MPPImageSegmenter.mm
This commit is contained in:
parent
0863d8def5
commit
5a1564e04c
|
@ -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",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user