This commit is contained in:
Glenn Jocher 2019-02-11 12:27:11 +01:00
parent 429fd6121c
commit 37b633d205
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ def detect(
if save_images: # Save generated image with detections if save_images: # Save generated image with detections
cv2.imwrite(save_path, im0) cv2.imwrite(save_path, im0)
print(' Done. (%.3fs)' % (time.time() - t)) print('Done. (%.3fs)' % (time.time() - t))
if platform == 'darwin': # MacOS if platform == 'darwin': # MacOS
os.system('open ' + output + '&& open ' + save_path) os.system('open ' + output + '&& open ' + save_path)