diff --git a/demos/background_subtraction_demo/cpp_gapi/CMakeLists.txt b/demos/background_subtraction_demo/cpp_gapi/CMakeLists.txt index 4b43048dd39..ef462405724 100644 --- a/demos/background_subtraction_demo/cpp_gapi/CMakeLists.txt +++ b/demos/background_subtraction_demo/cpp_gapi/CMakeLists.txt @@ -7,10 +7,10 @@ if (NOT TARGET utils_gapi) return() endif() -if(OpenVINO_VERSION_MAJOR VERSION_GREATER_EQUAL 2024) - message(WARNING "background_subtraction_demo_gapi skipped. G-API is not compatible with OpenVINO 2024.0.") - return() -endif() +# if(OpenVINO_VERSION_MAJOR VERSION_GREATER_EQUAL 2024) +# message(WARNING "background_subtraction_demo_gapi skipped. G-API is not compatible with OpenVINO 2024.0.") +# return() +# endif() file(GLOB_RECURSE SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp) file(GLOB_RECURSE HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/*.hpp) diff --git a/demos/common/cpp_gapi/utils_gapi/src/backend_description.cpp b/demos/common/cpp_gapi/utils_gapi/src/backend_description.cpp index ca3bd86f7c1..0007140d847 100644 --- a/demos/common/cpp_gapi/utils_gapi/src/backend_description.cpp +++ b/demos/common/cpp_gapi/utils_gapi/src/backend_description.cpp @@ -6,6 +6,7 @@ #include "utils_gapi/backend_description.hpp" #include "utils_gapi/kernel_package.hpp" + BackendDescription BackendDescription::parseFromArgs(const std::string &arg, char sep) { std::vector splitted_line = split(arg, sep); if (splitted_line.empty()) { diff --git a/demos/tests/cases.py b/demos/tests/cases.py index 805d82ae552..293535a36a5 100644 --- a/demos/tests/cases.py +++ b/demos/tests/cases.py @@ -170,15 +170,15 @@ def single_option_cases(key, *args): DEMOS = [ - # CppDemo(name='background_subtraction_demo', device_keys=['-d'], implementation='cpp_gapi', test_cases=combine_cases( - # TestCase(options={'--no_show': None, '-at': 'maskrcnn', - # **MONITORS, - # '-i': DataPatternArg('coco128-subset-480x640x3'), - # }), - # single_option_cases('-m', - # ModelArg('instance-segmentation-person-0007'), - # ModelArg('instance-segmentation-security-0091')), - # )), + CppDemo(name='background_subtraction_demo', device_keys=['-d'], implementation='cpp_gapi', test_cases=combine_cases( + TestCase(options={'--no_show': None, '-at': 'maskrcnn', + **MONITORS, + '-i': DataPatternArg('coco128-subset-480x640x3'), + }), + single_option_cases('-m', + ModelArg('instance-segmentation-person-0007'), + ModelArg('instance-segmentation-security-0091')), + )), CppDemo('classification_benchmark_demo', 'cpp_gapi', test_cases=combine_cases( single_option_cases(