handling openface execution

This commit is contained in:
vjbytes102
2020-12-01 12:49:56 -05:00
committed by GitHub
parent 993bd860e4
commit ccde369840

View File

@@ -62,7 +62,12 @@ def process_open_face(video_uri, input_dir, out_dir, of_path, dbm_group):
""" """
try: try:
if dbm_group != None and len(dbm_group) == 1 and 'acoustic' in dbm_group: if dbm_group != None:
return
check_group = ['facial','movement']
check_val = bool(len({*check_group} & {*dbm_group}))
if not check_val:
return return
filepaths = [video_uri] filepaths = [video_uri]