In:
網際網路技術學刊, Angle Publishing Co., Ltd., Vol. 23, No. 7 ( 2022-12), p. 1573-1584
Abstract:
〈p〉The aim of Sudoku puzzle is to fill in the blank cells in a square matrix consisting of nine 3x3 blocks with the numbers 1-9 in a way that no number appears more than once in any row, column, or block. We combined image processing, a convolutional neural network (CNN), and a Sudoku game algorithm to automatically place the numbers 1-9 in the blank cells of a Sudoku square matrix. An image of the Sudoku square matrix is first captured using a camera, and then the vertical lines, horizontal lines, and outer frame of the Sudoku square matrix are detected using Hough transform (HT). Based on the OpenCV module, we proposed an image processing algorithm that captures the numbers in the image and calculates the location coordinates of the numbers in the image. We trained the CNN using the MNIST handwritten digit dataset to recognize the numbers in the Sudoku square matrix. Finally, we used the Python programming language to design a Sudoku puzzle backtrace algorithm that automatically deduces and fills in the blank cells in the square matrix. This study provides further understanding of the critical operating principles of CNNs and lays down a foundation for future research.〈/p〉
〈p〉 〈/p〉
Type of Medium:
Online Resource
ISSN:
1607-9264
,
1607-9264
Uniform Title:
Integrating of Image Processing and Number Recognition in Sudoku Puzzle Cards Digitation
DOI:
10.53106/160792642022122307012
Language:
Unknown
Publisher:
Angle Publishing Co., Ltd.
Publication Date:
2022
Bookmarklink