@@ -170,15 +170,15 @@ def single_option_cases(key, *args):
170170
171171
172172DEMOS = [
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 (
@@ -254,8 +254,7 @@ def single_option_cases(key, *args):
254254 device_keys = ['-d' , '-d_fd' , '-d_hp' , '-d_lm' , '-d_es' ],
255255 test_cases = combine_cases (
256256 TestCase (options = {'-no_show' : None ,
257- ** MONITORS ,
258- '-i' : TestDataArg ('coco128/images/train2017/' )}),
257+ ** MONITORS }),
259258 TestCase (options = {
260259 '-m' : ModelArg ('gaze-estimation-adas-0002' ),
261260 '-m_hp' : ModelArg ('head-pose-estimation-adas-0001' ),
@@ -266,23 +265,27 @@ def single_option_cases(key, *args):
266265 '-m_fd' ,
267266 ModelArg ('face-detection-adas-0001' ),
268267 ModelArg ('face-detection-retail-0004' )),
268+ single_option_cases (
269+ '-i' ,
270+ str ('/tmp/video.mp4' ),
271+ DataPatternArg ('coco128-every-480x640x3' )),
269272 )),
270273
271- CppDemo (name = 'gesture_recognition_demo' , implementation = 'cpp_gapi' ,
272- model_keys = ['-m_a' , '-m_d' ],
273- device_keys = ['-d_a' , '-d_d' ],
274- test_cases = combine_cases (
275- TestCase (options = {'--no_show' : None ,
276- '-i' : DataPatternArg ('coco128-every-480x640x3' ),
277- '-m_d' : ModelArg ('person-detection-asl-0001' )}),
278- [
279- TestCase (options = {'-m_a' : ModelArg ('asl-recognition-0004' ), '-c' : str (OMZ_DIR / 'data/dataset_classes/msasl100.json' )}),
280- TestCase (options = {'-m_a' : ModelArg ('common-sign-language-0001' ),
281- '-c' : str (OMZ_DIR / 'data/dataset_classes/jester27.json' )}),
282- TestCase (options = {'-m_a' : ModelArg ('common-sign-language-0002' ),
283- '-c' : str (OMZ_DIR / 'data/dataset_classes/common_sign_language12.json' )}),
284- ],
285- )),
274+ # CppDemo(name='gesture_recognition_demo', implementation='cpp_gapi',
275+ # model_keys=['-m_a', '-m_d'],
276+ # device_keys=['-d_a', '-d_d'],
277+ # test_cases=combine_cases(
278+ # TestCase(options={'--no_show': None,
279+ # '-i': DataPatternArg('coco128-every-480x640x3'),
280+ # '-m_d': ModelArg('person-detection-asl-0001')}),
281+ # [
282+ # TestCase(options={'-m_a': ModelArg('asl-recognition-0004'), '-c': str(OMZ_DIR / 'data/dataset_classes/msasl100.json')}),
283+ # TestCase(options={'-m_a': ModelArg('common-sign-language-0001'),
284+ # '-c': str(OMZ_DIR / 'data/dataset_classes/jester27.json')}),
285+ # TestCase(options={'-m_a': ModelArg('common-sign-language-0002'),
286+ # '-c': str(OMZ_DIR / 'data/dataset_classes/common_sign_language12.json')}),
287+ # ],
288+ # )),
286289
287290 CppDemo (
288291 'interactive_face_detection_demo' , 'cpp_gapi' ,
0 commit comments