Internal update

PiperOrigin-RevId: 530777692
This commit is contained in:
MediaPipe Team 2023-05-09 19:45:18 -07:00 committed by Copybara-Service
parent f824424700
commit ea1643f7f8
6 changed files with 6 additions and 21 deletions

View File

@ -13,8 +13,7 @@
# limitations under the License.
package(default_visibility = [
# "//mediapipe/tasks:internal",
"//visibility:public",
"//mediapipe/tasks:internal",
])
licenses(["notice"])
@ -63,6 +62,7 @@ cc_library(
name = "face_detector",
srcs = ["face_detector.cc"],
hdrs = ["face_detector.h"],
visibility = ["//visibility:public"],
deps = [
":face_detector_graph",
"//mediapipe/framework/api2:builder",

View File

@ -123,6 +123,7 @@ cc_library(
name = "face_landmarker_result",
srcs = ["face_landmarker_result.cc"],
hdrs = ["face_landmarker_result.h"],
visibility = ["//visibility:public"],
deps = [
"//mediapipe/framework/formats:classification_cc_proto",
"//mediapipe/framework/formats:landmark_cc_proto",
@ -137,6 +138,7 @@ cc_library(
name = "face_landmarker",
srcs = ["face_landmarker.cc"],
hdrs = ["face_landmarker.h"],
visibility = ["//visibility:public"],
deps = [
":face_landmarker_graph",
":face_landmarker_result",
@ -164,20 +166,6 @@ cc_library(
],
)
cc_library(
name = "face_landmarker_result_cc",
srcs = ["face_landmarker_result.cc"],
hdrs = ["face_landmarker_result.h"],
deps = [
"//mediapipe/framework/formats:classification_cc_proto",
"//mediapipe/framework/formats:landmark_cc_proto",
"//mediapipe/framework/formats:matrix",
"//mediapipe/framework/formats:matrix_data_cc_proto",
"//mediapipe/tasks/cc/components/containers:classification_result",
"//mediapipe/tasks/cc/components/containers:landmark",
],
)
cc_library(
name = "face_landmarker_graph",
srcs = ["face_landmarker_graph.cc"],

View File

@ -61,6 +61,7 @@ cc_library(
name = "face_stylizer",
srcs = ["face_stylizer.cc"],
hdrs = ["face_stylizer.h"],
visibility = ["//visibility:public"],
deps = [
":face_stylizer_graph", # buildcleaner:keep
"//mediapipe/framework/api2:builder",

View File

@ -22,6 +22,7 @@ cc_library(
name = "interactive_segmenter",
srcs = ["interactive_segmenter.cc"],
hdrs = ["interactive_segmenter.h"],
visibility = ["//visibility:public"],
deps = [
":interactive_segmenter_graph",
"//mediapipe/framework:calculator_cc_proto",

View File

@ -23,7 +23,6 @@ py_library(
srcs = [
"text_classifier.py",
],
visibility = ["//mediapipe/tasks:users"],
deps = [
"//mediapipe/python:packet_creator",
"//mediapipe/python:packet_getter",

View File

@ -158,10 +158,6 @@ py_library(
srcs = [
"hand_landmarker.py",
],
visibility = [
"//mediapipe/model_maker/python/vision/gesture_recognizer:__subpackages__",
"//mediapipe/tasks:internal",
],
deps = [
"//mediapipe/framework/formats:classification_py_pb2",
"//mediapipe/framework/formats:landmark_py_pb2",