Internal change
PiperOrigin-RevId: 488481286
This commit is contained in:
committed by
Copybara-Service
parent
11270d0c93
commit
c027373688
@@ -3,7 +3,7 @@
|
||||
# This task takes video frames and outputs synchronized frames along with
|
||||
# the detection results for one or more hand categories, using Hand Landmarker.
|
||||
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_ts_library")
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_ts_declaration", "mediapipe_ts_library")
|
||||
|
||||
package(default_visibility = ["//mediapipe/tasks:internal"])
|
||||
|
||||
@@ -11,12 +11,9 @@ licenses(["notice"])
|
||||
|
||||
mediapipe_ts_library(
|
||||
name = "hand_landmarker",
|
||||
srcs = [
|
||||
"hand_landmarker.ts",
|
||||
"hand_landmarker_options.ts",
|
||||
"hand_landmarker_result.ts",
|
||||
],
|
||||
srcs = ["hand_landmarker.ts"],
|
||||
deps = [
|
||||
":hand_landmarker_types",
|
||||
"//mediapipe/framework:calculator_jspb_proto",
|
||||
"//mediapipe/framework:calculator_options_jspb_proto",
|
||||
"//mediapipe/framework/formats:classification_jspb_proto",
|
||||
@@ -33,3 +30,16 @@ mediapipe_ts_library(
|
||||
"//mediapipe/web/graph_runner:wasm_mediapipe_lib_ts",
|
||||
],
|
||||
)
|
||||
|
||||
mediapipe_ts_declaration(
|
||||
name = "hand_landmarker_types",
|
||||
srcs = [
|
||||
"hand_landmarker_options.d.ts",
|
||||
"hand_landmarker_result.d.ts",
|
||||
],
|
||||
deps = [
|
||||
"//mediapipe/tasks/web/components/containers:category",
|
||||
"//mediapipe/tasks/web/components/containers:landmark",
|
||||
"//mediapipe/tasks/web/core",
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user