updates
This commit is contained in:
parent
c37fda7d45
commit
2a009d8d47
|
@ -106,7 +106,7 @@ def detect(
|
||||||
|
|
||||||
if save_images:
|
if save_images:
|
||||||
# Save generated image with detections
|
# Save generated image with detections
|
||||||
cv2.imwrite(results_img_path.replace('.bmp', '.jpg').replace('.tif', '.jpg'), img)
|
cv2.imwrite(results_img_path, img)
|
||||||
|
|
||||||
print(' Done. (%.3fs)' % (time.time() - t))
|
print(' Done. (%.3fs)' % (time.time() - t))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue