blob: c10bf85db91a23ea5d144ec08d46af9354e3963a [file] [log] [blame]
Jim Ostrowskiff0f5e42022-01-22 01:35:31 -08001cc_binary(
2 name = "camera_reader",
3 srcs = [
4 "camera_reader_main.cc",
5 ],
6 target_compatible_with = ["@platforms//os:linux"],
7 visibility = ["//y2022:__subpackages__"],
8 deps = [
9 "//aos:init",
10 "//aos/events:shm_event_loop",
11 "//y2020/vision:camera_reader_lib",
12 ],
13)
14
15cc_library(
16 name = "blob_detector_lib",
17 srcs = [
18 "blob_detector.cc",
19 ],
20 hdrs = [
21 "blob_detector.h",
22 ],
23 target_compatible_with = ["@platforms//os:linux"],
24 visibility = ["//y2022:__subpackages__"],
25 deps = [
26 "//aos/network:team_number",
27 "//third_party:opencv",
28 ],
29)
30
31cc_binary(
32 name = "viewer",
33 srcs = [
34 "viewer.cc",
35 ],
36 data = [
37 "//y2020:config",
38 ],
39 target_compatible_with = ["@platforms//os:linux"],
40 visibility = ["//y2022:__subpackages__"],
41 deps = [
42 ":blob_detector_lib",
43 "//aos:init",
44 "//aos/events:shm_event_loop",
45 "//third_party:opencv",
46 "//y2020/vision:vision_fbs",
47 "//y2020/vision/sift:sift_fbs",
48 ],
49)