Skip to content
/ Sudoku_AR Public

Sudoku Solver AR is an augmented reality Sudoku solver. It captures video using a camera, finds Sudoku puzzles in the photo, and then displays answers to those puzzles in such a way that they look like they are part of the original scene.

Notifications You must be signed in to change notification settings

05rs/Sudoku_AR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku_AR

Sudoku Solver AR is an augmented reality Sudoku solver. It captures video using a camera, finds Sudoku puzzles in the photo, and then displays answers to those puzzles in such a way that they look like they are part of the original scene.

Video

Technology Used

  • Tensoflow
  • OpenCv
  • Python

Workflow

workflow diagram

STEPS

  1. Input the Sudoku image.

input_image

  1. Apply thresholding to image.

thresh_image

  1. Select the biggest contour with four corners and perform perspective transform.

warped_image

  1. Divide the wrapped image into 81 cells, extract each cell in the warped image and chop it borders as it may contain some white pixels.

digit_image

  1. Predict the number on cell using Neural Network, trained on MNIST and Chars74k dataset, generate sudoku board and solve with py-sudoku library.

Usage

python3 main.py

Features

  • Automatically Detects Sudoku Block

  • Fast Prediction

To-DO

  • Detect multiple sudoku board in a frame

  • Add rotation robustness

About

Sudoku Solver AR is an augmented reality Sudoku solver. It captures video using a camera, finds Sudoku puzzles in the photo, and then displays answers to those puzzles in such a way that they look like they are part of the original scene.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published