Spaces:
Sleeping
Sleeping
testing changes
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def main():
|
|
55 |
else:
|
56 |
cropped_image = gray[y1:y2, x1:x2]
|
57 |
# cropped_image = resized_image[y1:y2, x1:x2]
|
58 |
-
cropped_image = cv2.resize(cropped_image, (
|
59 |
cv2.imwrite('card_number_image.jpg', cropped_image)
|
60 |
|
61 |
extracted_digit = get_digit(
|
|
|
55 |
else:
|
56 |
cropped_image = gray[y1:y2, x1:x2]
|
57 |
# cropped_image = resized_image[y1:y2, x1:x2]
|
58 |
+
cropped_image = cv2.resize(cropped_image, (128, 128))
|
59 |
cv2.imwrite('card_number_image.jpg', cropped_image)
|
60 |
|
61 |
extracted_digit = get_digit(
|