Spaces:
Sleeping
Sleeping
Commit
·
9c738c9
1
Parent(s):
0f53078
Update app.py
Browse files
app.py
CHANGED
@@ -154,9 +154,9 @@ def main():
|
|
154 |
puzzle = np.asarray(puzzle)
|
155 |
|
156 |
# Resizing puzzle to be solved
|
157 |
-
|
158 |
# Preprocessing Puzzle
|
159 |
-
su_puzzle = preprocess(
|
160 |
|
161 |
# Finding the outline of the sudoku puzzle in the image
|
162 |
su_contour_1= su_puzzle.copy()
|
|
|
154 |
puzzle = np.asarray(puzzle)
|
155 |
|
156 |
# Resizing puzzle to be solved
|
157 |
+
sudoku_a = cv2.resize(puzzle, (450,450))
|
158 |
# Preprocessing Puzzle
|
159 |
+
su_puzzle = preprocess(sudoku_a)
|
160 |
|
161 |
# Finding the outline of the sudoku puzzle in the image
|
162 |
su_contour_1= su_puzzle.copy()
|