This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
BUILD
77 lines (64 loc) · 2.01 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
licenses(["notice"])
load("//mediapipe/framework/port:build_config.bzl", "mediapipe_cc_proto_library")
package(default_visibility = [
"//visibility:public",
])
cc_library(
name = "headers",
hdrs = glob(["*.h"]),
visibility = ["//visibility:public"],
)
cc_library(
name = "ump_core",
srcs = [
"ump_context.cc",
"ump_pipeline.cc",
"packet.cc",
"landmarks_packet.cc",
"face_geometry_packet.cc",
"classification_packet.cc",
"packet_api.cc"
],
deps = [
"@com_google_absl//absl/flags:flag",
"@com_google_absl//absl/flags:parse",
"//mediapipe/framework:calculator_framework",
"//mediapipe/framework/formats:image_frame",
"//mediapipe/framework/formats:image_frame_opencv",
"//mediapipe/framework/port:opencv_imgproc",
"//mediapipe/framework/port:opencv_video",
"//mediapipe/framework/port:opencv_highgui",
"//mediapipe/framework/port:parse_text_proto",
"//mediapipe/framework/port:file_helpers",
"//mediapipe/framework/port:status",
"//mediapipe/calculators/core:mux_calculator",
"//mediapipe/graphs/face_mesh:desktop_live_calculators",
"//mediapipe/modules/face_geometry:env_generator_calculator",
"//mediapipe/modules/face_geometry:face_geometry_from_landmarks",
"//mediapipe/graphs/hand_tracking:desktop_tflite_calculators",
"//mediapipe/graphs/pose_tracking:pose_tracking_cpu_deps",
"//mediapipe/graphs/holistic_tracking:holistic_tracking_cpu_graph_deps",
"//mediapipe/graphs/iris_tracking:iris_tracking_cpu_video_input_deps",
"//mediapipe/graphs/iris_tracking:iris_tracking_cpu_deps",
"//mediapipe/graphs/iris_tracking:iris_depth_cpu_deps",
"//mediapipe/graphs/object_detection_3d:desktop_cpu_calculators",
"//mediapipe/framework/formats/motion:optical_flow_field_data_cc_proto",
":headers",
]
)
cc_binary(
name = "mediapipe_api",
srcs = ["ump_dll.cc"],
defines = ["MP_EXPORTS"],
linkshared = True,
deps = [
":ump_core",
],
)
cc_binary(
name = "ump_app",
srcs = ["ump_app.cc", "dummy_packet_callback.cc"],
deps = [
":ump_core"
],
)