57 lines
1.5 KiB
Python
57 lines
1.5 KiB
Python
# Copyright 2023 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.
|
|
|
|
package(default_visibility = [
|
|
"//mediapipe/tasks:internal",
|
|
"//mediapipe/tasks:users",
|
|
])
|
|
|
|
licenses(["notice"])
|
|
|
|
objc_library(
|
|
name = "MPPCategory",
|
|
srcs = ["sources/MPPCategory.m"],
|
|
hdrs = ["sources/MPPCategory.h"],
|
|
)
|
|
|
|
objc_library(
|
|
name = "MPPClassificationResult",
|
|
srcs = ["sources/MPPClassificationResult.m"],
|
|
hdrs = ["sources/MPPClassificationResult.h"],
|
|
deps = [":MPPCategory"],
|
|
)
|
|
|
|
objc_library(
|
|
name = "MPPEmbedding",
|
|
srcs = ["sources/MPPEmbedding.m"],
|
|
hdrs = ["sources/MPPEmbedding.h"],
|
|
)
|
|
|
|
objc_library(
|
|
name = "MPPEmbeddingResult",
|
|
srcs = ["sources/MPPEmbeddingResult.m"],
|
|
hdrs = ["sources/MPPEmbeddingResult.h"],
|
|
deps = [":MPPEmbedding"],
|
|
)
|
|
|
|
objc_library(
|
|
name = "MPPDetection",
|
|
srcs = ["sources/MPPDetection.m"],
|
|
hdrs = ["sources/MPPDetection.h"],
|
|
deps = [
|
|
":MPPCategory",
|
|
"//third_party/apple_frameworks:UIKit",
|
|
],
|
|
)
|