-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
139 lines (121 loc) · 2.54 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
load("//bzl:module.bzl", "isaac_app", "isaac_cc_module", "isaac_component", "isaac_subgraph")
isaac_cc_module(
name = "camera_module",
visibility = ["//visibility:public"],
deps = [
":cuda_detection",
":synchronizer",
":recog_decoder",
],
)
isaac_component(
name = "cuda_detection",
visibility = ["//visibility:public"],
)
isaac_component(
name = "synchronizer",
visibility = ["//visibility:public"],
deps = ["@com_nvidia_isaac_engine//engine/core/image"],
)
isaac_component(
name = "recog_decoder",
visibility = ["//visibility:public"],
deps = [
"@com_nvidia_isaac_engine//engine/core/tensor",
"@com_nvidia_isaac_engine//engine/gems/tensor",
],
)
isaac_cc_module(
name = "tracker_module",
visibility = ["//visibility:public"],
deps = [
":tracker",
":tracker_object",
],
)
isaac_component(
name = "tracker",
visibility = ["//visibility:public"],
deps = [
":tracker_object",
":udp_client",
],
)
isaac_component(
name = "udp_client",
visibility = ["//visibility:public"],
)
isaac_component(
name = "tracker_object",
visibility = ["//visibility:public"],
)
filegroup(
name = "photo",
srcs = glob([
"faces.jpg",
]),
)
isaac_cc_module(
name = "cloud_module",
visibility = ["//visibility:public"],
deps = [
":cloud_storage",
],
)
isaac_component(
name = "cloud_storage",
visibility = ["//visibility:public"],
deps = ["@com_github_googleapis_google_cloud_cpp//:storage"],
)
filegroup(
name = "facial_files",
srcs = glob([
"logical-signer-319519-93814db53e97.json",
"version-RFB-640.onnx",
"arcfaceresnet100-8.onnx",
]),
)
isaac_app(
name = "facial",
app_json_file = "facial.app.json",
data = [
":camera_subgraph",
":facial_files",
],
modules = [
"viewers",
"//apps/eclipseworkspace/facial:tracker_module",
"//apps/eclipseworkspace/facial:cloud_module",
],
)
isaac_subgraph(
name = "camera_subgraph",
modules = [
"realsense",
"ml",
"sight",
"utils",
"//apps/eclipseworkspace/facial:camera_module"
],
subgraph = "camera.subgraph.json",
visibility = ["//visibility:public"],
)
isaac_app(
name = "test",
data = [
],
modules = [
"viewers",
"message_generators",
"sight",
],
)
cc_binary(
name = "quickstart",
srcs = [
"quickstart.cc",
],
deps = [
"@com_github_googleapis_google_cloud_cpp//:storage",
],
)