From d11504aee1679d8bb9ca3aef27d96643b90b70eb Mon Sep 17 00:00:00 2001 From: Frederik Date: Wed, 7 Oct 2020 16:16:10 +0200 Subject: [PATCH] Remove image open on macos (#1086) * added option to not open on save * Update detect.py Co-authored-by: Glenn Jocher --- detect.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/detect.py b/detect.py index 7610f39..67e4248 100644 --- a/detect.py +++ b/detect.py @@ -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))