Ibuprofen5316 glenn-jocher commited on
Commit
d11504a
1 Parent(s): 5b8cf24

Remove image open on macos (#1086)

Browse files

* added option to not open on save

* Update detect.py

Co-authored-by: Glenn Jocher <[email protected]>

Files changed (1) hide show
  1. detect.py +0 -2
detect.py CHANGED
@@ -140,8 +140,6 @@ def detect(save_img=False):
140
 
141
  if save_txt or save_img:
142
  print('Results saved to %s' % Path(out))
143
- if platform.system() == 'Darwin' and not opt.update: # MacOS
144
- os.system('open ' + save_path)
145
 
146
  print('Done. (%.3fs)' % (time.time() - t0))
147
 
 
140
 
141
  if save_txt or save_img:
142
  print('Results saved to %s' % Path(out))
 
 
143
 
144
  print('Done. (%.3fs)' % (time.time() - t0))
145