Commit
•
d0d3dd1
1
Parent(s):
b8f3b1b
Update detect.py (#629)
Browse files* Update detect.py
Update print info for relative path and absolute
otherwise the info below is misleading
Results saved to /workspace//output_path
* Update detect.py
Co-authored-by: Glenn Jocher <[email protected]>
detect.py
CHANGED
@@ -137,7 +137,7 @@ def detect(save_img=False):
|
|
137 |
vid_writer.write(im0)
|
138 |
|
139 |
if save_txt or save_img:
|
140 |
-
print('Results saved to %s' %
|
141 |
if platform == 'darwin' and not opt.update: # MacOS
|
142 |
os.system('open ' + save_path)
|
143 |
|
|
|
137 |
vid_writer.write(im0)
|
138 |
|
139 |
if save_txt or save_img:
|
140 |
+
print('Results saved to %s' % Path(out))
|
141 |
if platform == 'darwin' and not opt.update: # MacOS
|
142 |
os.system('open ' + save_path)
|
143 |
|