From 1c69494fd2f322d72dc5e0bfa285690d3d056e4b Mon Sep 17 00:00:00 2001 From: Sibo Zhu Date: Tue, 28 Jan 2020 14:46:09 -0500 Subject: [PATCH] update --- CVC-YOLOv3/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CVC-YOLOv3/detect.py b/CVC-YOLOv3/detect.py index b0fa1bf..2500922 100644 --- a/CVC-YOLOv3/detect.py +++ b/CVC-YOLOv3/detect.py @@ -175,7 +175,7 @@ def detect(target_path, for i in tqdm(files,desc='Doing Single Image Detection'): filename=detection_tmp_path + i - detection_path = single_img_detect(target_path=filename,model=model,device=device,conf_thres=conf_thres,nms_thres=nms_thres) + detection_path = single_img_detect(target_path=target_filepath,output_path=output_path,mode=mode,model=model,device=device,conf_thres=conf_thres,nms_thres=nms_thres) #reading each files img = cv2.imread(detection_path) height, width, layers = img.shape