From 674feb91f29d6c0a26412a0d2d94aae3da36e080 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Fri, 26 Apr 2019 12:16:33 +0200 Subject: [PATCH] updates --- detect.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/detect.py b/detect.py index 6d89ab82..2576d786 100644 --- a/detect.py +++ b/detect.py @@ -109,9 +109,10 @@ def detect( else: cv2.imwrite(save_path, im0) - if save_images and platform == 'darwin': # macos - os.system('open ' + output + ' ' + save_path) + if save_images: print('Results saved to %s' % os.getcwd() + os.sep + output) + if platform == 'darwin': # macos + os.system('open ' + output + ' ' + save_path) if __name__ == '__main__':