Skip to content

Commit ba07662

Browse files
Temporary skip G-API background_subtraction_demo (#3885)
1 parent 9203199 commit ba07662

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

demos/background_subtraction_demo/cpp_gapi/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ if (NOT TARGET utils_gapi)
77
return()
88
endif()
99

10+
if(OpenVINO_VERSION_MAJOR VERSION_GREATER_EQUAL 2024)
11+
message(WARNING "background_subtraction_demo_gapi skipped. G-API is not compatible with OpenVINO 2024.0.")
12+
return()
13+
endif()
14+
1015
file(GLOB_RECURSE SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
1116
file(GLOB_RECURSE HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/*.hpp)
1217

demos/tests/cases.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -170,15 +170,15 @@ def single_option_cases(key, *args):
170170

171171

172172
DEMOS = [
173-
CppDemo(name='background_subtraction_demo', device_keys=['-d'], implementation='cpp_gapi', test_cases=combine_cases(
174-
TestCase(options={'--no_show': None, '-at': 'maskrcnn',
175-
**MONITORS,
176-
'-i': DataPatternArg('coco128-subset-480x640x3'),
177-
}),
178-
single_option_cases('-m',
179-
ModelArg('instance-segmentation-person-0007'),
180-
ModelArg('instance-segmentation-security-0091')),
181-
)),
173+
# CppDemo(name='background_subtraction_demo', device_keys=['-d'], implementation='cpp_gapi', test_cases=combine_cases(
174+
# TestCase(options={'--no_show': None, '-at': 'maskrcnn',
175+
# **MONITORS,
176+
# '-i': DataPatternArg('coco128-subset-480x640x3'),
177+
# }),
178+
# single_option_cases('-m',
179+
# ModelArg('instance-segmentation-person-0007'),
180+
# ModelArg('instance-segmentation-security-0091')),
181+
# )),
182182

183183
CppDemo('classification_benchmark_demo', 'cpp_gapi', test_cases=combine_cases(
184184
single_option_cases(

0 commit comments

Comments
 (0)