Update Blazepose_runsave.py

This commit is contained in:
David PAGNON 2023-01-09 01:10:17 +01:00 committed by GitHub
parent 5415e3aaca
commit 76ed43e7b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,7 +153,7 @@ def blazepose_detec_func(**args):
to_h5 = args.get('to_h5')
to_json = args.get('to_json')
model_complexity = args.get('model_complexity')
model_complexity = int(args.get('model_complexity'))
if model_complexity == None: model_complexity=2
if to_csv or to_h5 or to_json or save_images or save_video: