anhminhtran235 / real_time_sudoku_solver

An application that connects to Computer Webcam and solve Sudoku in Real Time (Python, OpenCV and Keras)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Real Time Sudoku Solver

1/ Disclaimer:

2/ How does it work?

  • For a Demo and Explanation of how this application works, please watch my Youtube video: https://www.youtube.com/watch?v=uUtw6Syic6A
  • You will need: Python 3, OpenCV 4, Tensorflow >= 2.1.0 and Keras.
  • main.py is the entry of the application.

3/ How can you run it?

  • Just download all files, make sure you have the required installation of Python, OpenCV, Tensorflow and Keras, and run main.py
  • You don't need to train CNN on your own. I have trained a CNN model and saved the architecture in digitRecoginition.h5
  • If you want to try training the Convolution Network on your own computer, you will need to download Chars74K Dataset http://www.ee.surrey.ac.uk/CVSSP/demos/chars74k/, takes images 1-9 (We only need 1-9) and put them in folders "1", "2", ..., "9" respectively in the same directory with where you put all my Python files. After that, just run digitRecognition.py

April 2020

Created by Anh Minh Tran

About

An application that connects to Computer Webcam and solve Sudoku in Real Time (Python, OpenCV and Keras)


Languages

Language:Python 100.0%