Skip to content

The following project aims to develop the GUI based app that can be used to solve sudoku by just taking the image from the user's mobile camera and give the solution instantly.

Notifications You must be signed in to change notification settings

PushkaraSharma/Sudoku_Solver

Repository files navigation

Sudoku_Solver

The following project aims to develop the gui based app that can be used to solve sudoku by just taking the image from user's mobile camera and give the solution instantly.

Try yourself at

https://sudoku-solv.herokuapp.com/

Why this project is important?

This project is good enough to be in someone's resume because it comprises of algorithms(backtracking), Image processing(extraction of sudoku and numbers) machine learning (CNN) for digit recognition and finally GUI.

Methodology

  • Algorithm for solving the sudoku - we have used backtracking with recursive function concept in order to solve the given sudoku.
  • Extraction the sudoku from given image - opencv is used in order to detect sudoku and extract it.
  • Extracting numbers image from sudoku - grid is sliced in order to get image of each number and then enhanced for furthur work.
  • Predicting each image - CNN model is trained on mnist daatset of handwritten digits and 98% acracy is achieved on validation set but somehow the model is not giving perfect predictions. Hence,project is not completed yet.

IN Process Images

Input Image

input

After Threshold

threh

Cropped Image

crop

Cropped Numbers from Sudoku

c1 c2 c3

Output

1

Web App

Screenshot from 2020-09-09 13-50-24 Screenshot from 2020-09-09 13-50-48 Screenshot from 2020-09-09 13-51-07

Video Demo

Docker Image Pull Command

docker pull pushkarasharma11/sudoku_solver:1.0

About

The following project aims to develop the GUI based app that can be used to solve sudoku by just taking the image from the user's mobile camera and give the solution instantly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •