Coder Social home page Coder Social logo

sudoku-solver's Introduction

sudoku-solver

Solves sudoku in a real time webcam feed

sudoku_solver.py takes a real time webcam feed and extracts sudoku from the frames and prints the solution on the screen

The algorithm used to solve the sudoku is is by Peter Norvig and solves sudoku problems in under 0.01 seconds (https://norvig.com/sudoku.html)

To train the digit recognizer, I have curated a data using the Char74K Data repository by and manually segmenting a very small subset from it that match the normal font digits in a sudoku.

(I haven't pushed the data and the output model here. If you wish to replicate this project, I suggest you to curate a custom dataset and run the algorithm on it to get a DNN model)

The training has been done using a custom architecture inspired from the seminal LeNet Architecture (that was origninally used by Yann LeCun et al. to solve the MNIST problem)

I would like to thank Dr. Adrian Rosebrock, Dr. Satya Mallick, and Ashwin Pajankar's youtube channel that gave me all the knowledge for Image Processing using opencv and deep learning!

Would like to cite Dr. Adrian Rosebrock's DL4CV book, which motivated me to take up such personal projects.

@book{rosebrock_dl4cv,ho author={Rosebrock, Adrian}, title={Deep Learning for Computer Vision with Python}, year={2019}, edition={3.0.0}, publisher={PyImageSearch.com} }

sudoku-solver's People

Contributors

adityaojas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.