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]>
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 |
|