Unverified 提交 d11504ae authored 作者: Frederik's avatar Frederik 提交者: GitHub

Remove image open on macos (#1086)

* added option to not open on save * Update detect.py Co-authored-by: 's avatarGlenn Jocher <glenn.jocher@ultralytics.com>
上级 5b8cf247
......@@ -140,8 +140,6 @@ def detect(save_img=False):
if save_txt or save_img:
print('Results saved to %s' % Path(out))
if platform.system() == 'Darwin' and not opt.update: # MacOS
os.system('open ' + save_path)
print('Done. (%.3fs)' % (time.time() - t0))
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论