BUILD 884 Bytes
Newer Older
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
# Tensorflow Object Detection API: main runnables.

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

licenses(["notice"])

# Apache 2.0

py_library(
    name = "detection_inference",
    srcs = ["detection_inference.py"],
    deps = [
        "//tensorflow",
        "//tensorflow_models/object_detection/core:standard_fields",
    ],
)

py_test(
    name = "detection_inference_test",
    srcs = ["detection_inference_test.py"],
    deps = [
        ":detection_inference",
        "//third_party/py/PIL:pil",
        "//third_party/py/numpy",
        "//tensorflow",
        "//tensorflow_models/object_detection/core:standard_fields",
        "//tensorflow_models/object_detection/utils:dataset_util",
    ],
)

py_binary(
    name = "infer_detections",
    srcs = ["infer_detections.py"],
    deps = [
        ":detection_inference",
        "//tensorflow",
    ],
)