updates
This commit is contained in:
parent
3535c401bb
commit
674feb91f2
|
@ -109,9 +109,10 @@ def detect(
|
||||||
else:
|
else:
|
||||||
cv2.imwrite(save_path, im0)
|
cv2.imwrite(save_path, im0)
|
||||||
|
|
||||||
if save_images and platform == 'darwin': # macos
|
if save_images:
|
||||||
os.system('open ' + output + ' ' + save_path)
|
|
||||||
print('Results saved to %s' % os.getcwd() + os.sep + output)
|
print('Results saved to %s' % os.getcwd() + os.sep + output)
|
||||||
|
if platform == 'darwin': # macos
|
||||||
|
os.system('open ' + output + ' ' + save_path)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue