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)