Skip to content

Commit

Permalink
Merge pull request #197 from luxonis/rename_depthai_demo
Browse files Browse the repository at this point in the history
Renaming depthai-demo.py
  • Loading branch information
jonngai authored Sep 18, 2020
2 parents b80b760 + 06bdfcf commit 03d7d52
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions calibrate_and_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def cleanup():
args+="'"+arg+"' "

calibrate_cmd = "python3 calibrate.py " + args
test_cmd = """python3 depthai-demo.py -co '{"streams": [{"name": "depth_raw", "max_fps": 12.0}]}'"""
test_cmd = """python3 depthai_demo.py -co '{"streams": [{"name": "depth_raw", "max_fps": 12.0}]}'"""


atexit.register(cleanup)
Expand All @@ -44,4 +44,4 @@ def cleanup():
print("Return code:"+str(return_code))


exit(return_code)
exit(return_code)
File renamed without changes.
4 changes: 2 additions & 2 deletions depthai_supervisor.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def cleanup():
for arg in sys.argv[1:]:
args+="'"+arg+"' "

cmd = "python3 depthai-demo.py " + args
cmd = "python3 depthai_demo.py " + args
print(cmd)

atexit.register(cleanup)
Expand All @@ -44,4 +44,4 @@ def cleanup():
if(return_code <= 4):
run = False

exit(return_code)
exit(return_code)
2 changes: 1 addition & 1 deletion integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def cleanup():
config_builder = config_builder+separator+comb+'"'
config_builder = config_builder + """]}'"""
if subset:
cmd = "python3 depthai-demo.py " + config_builder
cmd = "python3 depthai_demo.py " + config_builder
if(config_builder == """-co '{"streams": ["metaout"]}'"""):
continue
logger.info(cmd)
Expand Down
2 changes: 1 addition & 1 deletion repeat_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def cleanup():
for arg in sys.argv[1:]:
args+="'"+arg+"' "

cmd = "python3 depthai-demo.py " + args
cmd = "python3 depthai_demo.py " + args

logger.info(cmd)

Expand Down

0 comments on commit 03d7d52

Please sign in to comment.