diff --git a/mediapipe/tasks/web/audio/BUILD b/mediapipe/tasks/web/audio/BUILD new file mode 100644 index 000000000..0263738e6 --- /dev/null +++ b/mediapipe/tasks/web/audio/BUILD @@ -0,0 +1,11 @@ +# This contains the MediaPipe Audio Tasks. + +load("//mediapipe/framework/port:build_config.bzl", "mediapipe_ts_library") + +mediapipe_ts_library( + name = "audio_lib", + srcs = ["index.ts"], + deps = [ + "//mediapipe/tasks/web/audio/audio_classifier", + ], +) diff --git a/mediapipe/tasks/web/audio/index.ts b/mediapipe/tasks/web/audio/index.ts new file mode 100644 index 000000000..114a8ceca --- /dev/null +++ b/mediapipe/tasks/web/audio/index.ts @@ -0,0 +1,20 @@ +/** + * 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. + */ + +// Audio Classifier +export * from '../../../tasks/web/audio/audio_classifier/audio_classifier_options'; +export * from '../../../tasks/web/audio/audio_classifier/audio_classifier_result'; +export * from '../../../tasks/web/audio/audio_classifier/audio_classifier'; diff --git a/mediapipe/tasks/web/text/BUILD b/mediapipe/tasks/web/text/BUILD new file mode 100644 index 000000000..d3a797f83 --- /dev/null +++ b/mediapipe/tasks/web/text/BUILD @@ -0,0 +1,11 @@ +# This contains the MediaPipe Text Tasks. + +load("//mediapipe/framework/port:build_config.bzl", "mediapipe_ts_library") + +mediapipe_ts_library( + name = "text_lib", + srcs = ["index.ts"], + deps = [ + "//mediapipe/tasks/web/text/text_classifier", + ], +) diff --git a/mediapipe/tasks/web/text/index.ts b/mediapipe/tasks/web/text/index.ts new file mode 100644 index 000000000..dc511a426 --- /dev/null +++ b/mediapipe/tasks/web/text/index.ts @@ -0,0 +1,20 @@ +/** + * 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. + */ + +// Text Classifier +export * from '../../../tasks/web/text/text_classifier/text_classifier_options'; +export * from '../../../tasks/web/text/text_classifier/text_classifier_result'; +export * from '../../../tasks/web/text/text_classifier/text_classifier'; diff --git a/mediapipe/tasks/web/vision/BUILD b/mediapipe/tasks/web/vision/BUILD new file mode 100644 index 000000000..3684f88ef --- /dev/null +++ b/mediapipe/tasks/web/vision/BUILD @@ -0,0 +1,13 @@ +# This contains the MediaPipe Vision Tasks. + +load("//mediapipe/framework/port:build_config.bzl", "mediapipe_ts_library") + +mediapipe_ts_library( + name = "vision_lib", + srcs = ["index.ts"], + deps = [ + "//mediapipe/tasks/web/vision/gesture_recognizer", + "//mediapipe/tasks/web/vision/image_classifier", + "//mediapipe/tasks/web/vision/object_detector", + ], +) diff --git a/mediapipe/tasks/web/vision/index.ts b/mediapipe/tasks/web/vision/index.ts new file mode 100644 index 000000000..7cc915f25 --- /dev/null +++ b/mediapipe/tasks/web/vision/index.ts @@ -0,0 +1,30 @@ +/** + * 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. + */ + +// Image Classifier +export * from '../../../tasks/web/vision/image_classifier/image_classifier_options'; +export * from '../../../tasks/web/vision/image_classifier/image_classifier_result'; +export * from '../../../tasks/web/vision/image_classifier/image_classifier'; + +// Gesture Recognizer +export * from '../../../tasks/web/vision/gesture_recognizer/gesture_recognizer_options'; +export * from '../../../tasks/web/vision/gesture_recognizer/gesture_recognizer_result'; +export * from '../../../tasks/web/vision/gesture_recognizer/gesture_recognizer'; + +// Object Detector +export * from '../../../tasks/web/vision/object_detector/object_detector_options'; +export * from '../../../tasks/web/vision/object_detector/object_detector_result'; +export * from '../../../tasks/web/vision/object_detector/object_detector';