From 4013600a0e951f49c8552d3ee5cace50b93956a3 Mon Sep 17 00:00:00 2001 From: yuyuyzl Date: Wed, 4 May 2022 22:22:52 +0800 Subject: [PATCH] --debug_input --- main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.py b/main.py index 1eeb7d5..0756d7f 100644 --- a/main.py +++ b/main.py @@ -381,9 +381,6 @@ def main(): cv2.imshow("frame", output_frame) # cv2.imshow("camera", debug_image) cv2.waitKey(1) - if args.input != 'cam': - cv2.imwrite(os.path.join('dst', args.character, args.output_dir, f'{frame_count:04d}.jpeg')) - frame_count += 1 if args.output_webcam: # result_image = np.zeros([720, 1280, 3], dtype=np.uint8) # result_image[720 - 512:, 1280 // 2 - 256:1280 // 2 + 256] = cv2.resize(