BUILD 2.0 KB
Newer Older
W
wangxuehui 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
load("//tools:cpplint.bzl", "cpplint")
load("//tools:cuda_library.bzl", "cuda_library")

package(default_visibility = ["//visibility:public"])

cuda_library(
    name = "region_output_cuda",
    srcs = [
        "region_output.cu",
    ],
    hdrs = [
        "region_output.h",
    ],
    deps = [
        ":object_maintainer",
A
Aaron Xiao 已提交
16 17
        "//modules/perception/base",
        "//modules/perception/camera/common",
W
wangxuehui 已提交
18
        "//modules/perception/camera/lib/obstacle/detector/yolo/proto:yolo_proto",
A
Aaron Xiao 已提交
19
        "@cuda",
W
wangxuehui 已提交
20 21 22 23 24 25 26 27 28
    ],
)

cc_library(
    name = "region_output",
    srcs = [
        "region_output.cc",
        ":region_output_cuda",
    ],
A
Aaron Xiao 已提交
29
    hdrs = [
W
wangxuehui 已提交
30 31 32
        "region_output.h",
    ],
    deps = [
G
GoLancer 已提交
33
        "//cyber",
A
Aaron Xiao 已提交
34 35
        "//modules/perception/base",
        "//modules/perception/camera/common",
W
wangxuehui 已提交
36 37 38 39 40 41 42 43 44
        "//modules/perception/camera/lib/obstacle/detector/yolo/proto:yolo_proto",
    ],
)

cc_library(
    name = "yolo_obstacle_detector",
    srcs = [
        "yolo_obstacle_detector.cc",
    ],
A
Aaron Xiao 已提交
45
    hdrs = [
W
wangxuehui 已提交
46 47 48 49
        "yolo_obstacle_detector.h",
    ],
    deps = [
        ":region_output",
50
        "//modules/common/util:file_util",
A
Aaron Xiao 已提交
51 52
        "//modules/perception/base",
        "//modules/perception/camera/common",
W
wangxuehui 已提交
53 54 55
        "//modules/perception/camera/lib/feature_extractor/tfe:external_feature_extractor",
        "//modules/perception/camera/lib/feature_extractor/tfe:project_feature",
        "//modules/perception/camera/lib/feature_extractor/tfe:tracking_feat_extractor",
A
Aaron Xiao 已提交
56
        "//modules/perception/camera/lib/interface",
W
wangxuehui 已提交
57
        "//modules/perception/camera/lib/obstacle/detector/yolo/proto:yolo_proto",
A
Aaron Xiao 已提交
58 59
        "//modules/perception/inference:inference_factory_lib",
        "//modules/perception/inference:inference_lib",
A
Aaron Xiao 已提交
60 61
        "//modules/perception/inference/utils:inference_resize_lib",
        "//modules/perception/inference/utils:inference_util_lib",
A
Aaron Xiao 已提交
62
        "//modules/perception/lib/utils",
W
wangxuehui 已提交
63 64 65 66 67
    ],
)

cc_library(
    name = "object_maintainer",
A
Aaron Xiao 已提交
68
    hdrs = [
W
wangxuehui 已提交
69 70 71
        "object_maintainer.h",
    ],
    deps = [
A
Aaron Xiao 已提交
72
        "//modules/perception/base",
W
wangxuehui 已提交
73 74 75 76
    ],
)

cpplint()