optimize imports

This commit is contained in:
Glenn Jocher 2019-02-12 18:07:23 +01:00
parent 9706002b71
commit 0a6306b6cd
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ def detect(
cv2.imshow(weights + ' - %.2f FPS' % (1 / dt), im0) cv2.imshow(weights + ' - %.2f FPS' % (1 / dt), im0)
if save_images and (platform == 'darwin'): # MacOS if save_images and (platform == 'darwin'): # MacOS
os.system('open ' + output + '&& open ' + save_path) os.system('open ' + output + ' ' + save_path)
if __name__ == '__main__': if __name__ == '__main__':