To detect numbers within a given Sudoku Puzzle image using image processing techniques and output the results as a 2D array to be consumed by a Sudoku puzzle solver. Output should be a text (matrix format) and written to a CSV and XLS file.
- Navigate to
src
folder - Open
sudoku.m
in Matlab - Click Run and results will start populating
Optional: Change the input file name to any of the Sudoku puzzles that can be found in the data
folder, to test the solution with different Sudoku puzzles.
Results are saved as CSV and XLS files in the output
folder. Heatmap image has been saved for comparison purposes with the original Sudoku puzzle image.