Skip to content

Commit b3fe3ac

Browse files
committed
Update
1 parent 6d6e6a8 commit b3fe3ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def parse_args():
457457
args = parse_args()
458458
print('Called with args:')
459459
print(args)
460-
file_paths = get_file_paths_recursive(args.src_folder, ".tif")
460+
file_paths = get_file_paths_recursive(args.src_folder, args.image_ext)
461461

462462
detect_img(file_paths, args.des_folder, args.det_th, args.h_len, args.w_len, False)
463463

tools/demo1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def parse_args():
480480
args = parse_args()
481481
print('Called with args:')
482482
print(args)
483-
file_paths = get_file_paths_recursive(args.src_folder, ".tif")
483+
file_paths = get_file_paths_recursive(args.src_folder, args.image_ext)
484484

485485
detect_img(file_paths, args.des_folder, args.det_th, args.h_len, args.w_len, False)
486486

0 commit comments

Comments
 (0)