@@ -4,15 +4,17 @@ cmake_minimum_required(VERSION 3.10)
44## function: dai_add_example(example_name example_src enable_test use_pcl)
55## function: dai_set_example_test_labels(example_name ...)
66
7- # Video file with objects to detect
8- private_data(
9- URL "https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/construction_vest.mp4"
10- SHA1 "271d8d0b702e683ce02957db7c100843de5ceaec"
11- FILE "construction_vest.mp4"
12- LOCATION construction_vest
13- )
7+ if (DEPTHAI_FETCH_ARTIFACTS)
8+ # Video file with objects to detect
9+ private_data(
10+ URL "https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/network/construction_vest.mp4"
11+ SHA1 "271d8d0b702e683ce02957db7c100843de5ceaec"
12+ FILE "construction_vest.mp4"
13+ LOCATION construction_vest
14+ )
15+ endif ()
1416
15- if (DEPTHAI_ENABLE_REMOTE_CONNECTION)
17+ if (DEPTHAI_ENABLE_REMOTE_CONNECTION AND DEPTHAI_FETCH_ARTIFACTS )
1618 dai_add_example(detection_network_replay detection_network_replay.cpp OFF OFF )
1719 target_compile_definitions (detection_network_replay PRIVATE VIDEO_PATH="${construction_vest} " )
1820endif ()
@@ -21,4 +23,4 @@ dai_add_example(detection_network detection_network.cpp ON OFF)
2123dai_set_example_test_labels(detection_network ondevice rvc2_all rvc4 rvc4rgb ci)
2224
2325dai_add_example(detection_network_remap detection_network_remap.cpp ON OFF )
24- dai_set_example_test_labels(detection_network_remap ondevice rvc2_all rvc4 ci)
26+ dai_set_example_test_labels(detection_network_remap ondevice rvc2_all rvc4 ci)
0 commit comments