From ed3430f8e628862e17d2e0ee0f61b6a74415babf Mon Sep 17 00:00:00 2001 From: Sibo Zhu Date: Tue, 28 Jan 2020 14:47:39 -0500 Subject: [PATCH] fix typo --- 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 2500922..1e50a61 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=target_filepath,output_path=output_path,mode=mode,model=model,device=device,conf_thres=conf_thres,nms_thres=nms_thres) + detection_path = single_img_detect(target_path=filename,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