updates
This commit is contained in:
parent
3535c401bb
commit
674feb91f2
|
@ -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__':
|
||||
|
|
Loading…
Reference in New Issue