skip to main content
10.1145/3542954.3543045acmotherconferencesArticle/Chapter ViewAbstractPublication PagesiccaConference Proceedingsconference-collections
research-article

Solving Numerical Puzzles and Sudoku using Pattern Recognition and Image Processing

Authors Info & Claims
Published:11 August 2022Publication History

ABSTRACT

Puzzles are a useful means to test an individual's critical reasoning and ingenuity. In a puzzle, to arrive at the solution one must follow a precise logical way abiding by certain pre-defined rules. Puzzles are not only a mere form of entertainment, but it also contributes significantly to advanced areas of computational research and intelligent system design and testing. Solving puzzles often require pattern recognition in a logical sequence. Puzzles based on numerical computations may provide a platform to evaluate an algorithm's performance. Among various types of numerical puzzles, Sudoku is a popular variant that is used and analyzed a lot in mathematical and computational research and algorithm designing. In this work, a 9×9 puzzle grid is studied, and its solution is generated using backtracking. Then the patterns and line segments of the puzzle grid are recognized, and all the intersection points are detected. Finally, the row images are extracted and the digits from the images are detected by comparing them with template data using pattern recognition and image processing techniques using MATLAB.

References

  1. B. Arnoldy. 2006. Sudoku Strategies. The Home Forum. (The Christian Science Monitor.)Google ScholarGoogle Scholar
  2. S. Jana, M. Mallik, A. K. Maji, R. K. Pal. 2021. A novel search tree-based 3d sudoku solver. In Proceedings of the International Conference on Computing and Communication Systems, 709-718. DOI: 10.1007/978-981-33-4084-8_68.Google ScholarGoogle ScholarCross RefCross Ref
  3. Sudoku | Backtracking-7, https://www.geeksforgeeks.org/sudoku-backtracking-7/, accessed on February 15, 2022.Google ScholarGoogle Scholar
  4. P. Norvig. Solving Every Sudoku Puzzle. http://www.norvig.com/sudoku.html, accessed on February 15, 2022.Google ScholarGoogle Scholar
  5. D.K.R. Gaddam, M.D. Ansari, S. Vuppala. 2021. On Sudoku Problem Using Deep Learning and Image Processing Technique. In Proceedings of the 3rd International Conference on Communications and Cyber Physical Engineering (ICCCE 2020). DOI: 10.1007/978-981-15-7961-5_128.Google ScholarGoogle ScholarCross RefCross Ref
  6. J. Zelenski. Lecture 11 | Programming Abstractions (Stanford). https://www.youtube.com/watch?v=p-gpaIGRCQI, accessed on February 15, 2022.Google ScholarGoogle Scholar
  7. R. Alan. Star Burst Leo. https://www.flickr.com/photos/npcomplete/2384354604, accessed on February 15, 2022.Google ScholarGoogle Scholar
  8. H. Simonis. 2005. Sudoku as a Constraint Problem. In Proceedings of the 4th Int. Workshop Modelling Reformulating Constraint Satisfaction Problems. 13-27.Google ScholarGoogle Scholar
  9. R. Lewis. 2007. Metaheuristics Can Solve Sudoku Puzzles. Journal of Heuristics, 13, 4, 387-401. DOI: 10.1007/s10732-007-9012-8.Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. M. Perez, T. Marwala. 2008. Stochastic Optimization Approaches for Solving Sudoku. arXiv:0805.0697.Google ScholarGoogle Scholar
  11. J. F. Crook. 2009. A Pencil-and-Paper Algorithm for Solving Sudoku Puzzles, Notices of the AMS. 56, 4, 460-468.Google ScholarGoogle Scholar
  12. W. Shortz (ed.). 2006. The Little Black Book of Sudoku. St. Martin's Griffin, New York, NY.Google ScholarGoogle Scholar
  13. A. A. S. B. Wadud, M. Abdullah-Al-Wadud. 2021. An improved hybrid method combining backtracking with pencil and paper for solving sudoku puzzles. In 2021 International Symposium on Electrical, Electronics and Information Engineering (ISEEIE 2021), 438-441. DOI: 10.1145/3459104.3459176.Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. R. M. R. Lewis. 2021. Guide to Graph Colouring: Algorithms and Applications. Springer, Cham. DOI: 10.1007/978-3-030-81054-2.Google ScholarGoogle Scholar
  15. K. S. Vamsi, S. Gangadharabhotla, V. S. H. Sai. 2021. A Deep Learning approach to solve sudoku puzzle. In 5th International Conference on Intelligent Computing and Control Systems (ICICCS 2021), 1175-1179. DOI: 10.1109/ICICCS51141.2021.9432326.Google ScholarGoogle ScholarCross RefCross Ref
  16. P. S. Herimanto, E. M. Zamzami. 2020. An implementation of backtracking algorithm for solving a Sudoku-Puzzle based on android. Journal of Physics: Conference Series, 1566. DOI: 10.1088/1742-6596/1566/1/012038.Google ScholarGoogle Scholar
  17. Houghlines, https://www.mathworks.com/help/images/ref/houghlines.html, accessed on February 15, 2022.Google ScholarGoogle Scholar

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Other conferences
    ICCA '22: Proceedings of the 2nd International Conference on Computing Advancements
    March 2022
    543 pages
    ISBN:9781450397346
    DOI:10.1145/3542954

    Copyright © 2022 ACM

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 11 August 2022

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article
    • Research
    • Refereed limited
  • Article Metrics

    • Downloads (Last 12 months)33
    • Downloads (Last 6 weeks)7

    Other Metrics

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format .

View HTML Format