Add MP Tasks entrypoints
PiperOrigin-RevId: 489110875
This commit is contained in:
parent
6fc277ee1c
commit
899c87466e
|
@ -1 +1,13 @@
|
|||
# This contains the MediaPipe Audio Tasks.
|
||||
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_ts_library")
|
||||
|
||||
package(default_visibility = ["//mediapipe/tasks:internal"])
|
||||
|
||||
mediapipe_ts_library(
|
||||
name = "audio_lib",
|
||||
srcs = ["index.ts"],
|
||||
deps = [
|
||||
"//mediapipe/tasks/web/audio/audio_classifier",
|
||||
],
|
||||
)
|
||||
|
|
17
mediapipe/tasks/web/audio/index.ts
Normal file
17
mediapipe/tasks/web/audio/index.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* Copyright 2022 The MediaPipe Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from '../../../tasks/web/audio/audio_classifier/audio_classifier';
|
|
@ -1 +1,14 @@
|
|||
# This contains the MediaPipe Text Tasks.
|
||||
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_ts_library")
|
||||
|
||||
package(default_visibility = ["//mediapipe/tasks:internal"])
|
||||
|
||||
mediapipe_ts_library(
|
||||
name = "text_lib",
|
||||
srcs = ["index.ts"],
|
||||
deps = [
|
||||
"//mediapipe/tasks/web/text/text_classifier",
|
||||
"//mediapipe/tasks/web/text/text_embedder",
|
||||
],
|
||||
)
|
||||
|
|
18
mediapipe/tasks/web/text/index.ts
Normal file
18
mediapipe/tasks/web/text/index.ts
Normal file
|
@ -0,0 +1,18 @@
|
|||
/**
|
||||
* Copyright 2022 The MediaPipe Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from '../../../tasks/web/text/text_classifier/text_classifier';
|
||||
export * from '../../../tasks/web/text/text_embedder/text_embedder';
|
|
@ -1 +1,17 @@
|
|||
# This contains the MediaPipe Vision Tasks.
|
||||
|
||||
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_ts_library")
|
||||
|
||||
package(default_visibility = ["//mediapipe/tasks:internal"])
|
||||
|
||||
mediapipe_ts_library(
|
||||
name = "vision_lib",
|
||||
srcs = ["index.ts"],
|
||||
deps = [
|
||||
"//mediapipe/tasks/web/vision/gesture_recognizer",
|
||||
"//mediapipe/tasks/web/vision/hand_landmarker",
|
||||
"//mediapipe/tasks/web/vision/image_classifier",
|
||||
"//mediapipe/tasks/web/vision/image_embedder",
|
||||
"//mediapipe/tasks/web/vision/object_detector",
|
||||
],
|
||||
)
|
||||
|
|
21
mediapipe/tasks/web/vision/index.ts
Normal file
21
mediapipe/tasks/web/vision/index.ts
Normal file
|
@ -0,0 +1,21 @@
|
|||
/**
|
||||
* Copyright 2022 The MediaPipe Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from '../../../tasks/web/vision/image_classifier/image_classifier';
|
||||
export * from '../../../tasks/web/vision/image_embedder/image_embedder';
|
||||
export * from '../../../tasks/web/vision/gesture_recognizer/gesture_recognizer';
|
||||
export * from '../../../tasks/web/vision/hand_landmarker/hand_landmarker';
|
||||
export * from '../../../tasks/web/vision/object_detector/object_detector';
|
Loading…
Reference in New Issue
Block a user