This commit is contained in:
Glenn Jocher 2019-02-08 23:09:58 +01:00
parent c37fda7d45
commit 2a009d8d47
1 changed files with 1 additions and 1 deletions

View File

@ -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))