From 8ea03f1cfb78d0d8de47d4464c1ab61dc6bc9af3 Mon Sep 17 00:00:00 2001 From: Robin Bansal Date: Wed, 9 Oct 2019 01:20:03 +0530 Subject: [PATCH] updat --- Image_capturing.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Image_capturing.py b/Image_capturing.py index d312f39..00380e2 100644 --- a/Image_capturing.py +++ b/Image_capturing.py @@ -27,8 +27,7 @@ if flag_capturing: pic_no += 1 - save_img = cv2.resize( crop_img, (50,50) ) - save_img = np.array(save_img) + save_img = cv2.resize( crop_img, (50,50) cv2.imwrite(path + "/" + str(pic_no) + ".jpg", save_img)