Giter VIP home page Giter VIP logo

sudoku-vision's Introduction

sudoku-vision

sudoku-vision is an augmented reality application that displays the answer to sudoku puzzles when you hold them up to your webcam.

Each frame from the webcam undergoes a number of processing steps to extract the sudoku grid.

If the grid is successfully located, it is extracted and processed further to verify that it is a sudoku puzzle by looking for 81 smaller squares.

In the workflow for creating sample optical character recognition (OCR) data, each digit is highlighted in order as the user types in their identities. In the solving workflow, the program identifies each digit in lexicographical order. The puzzle is then solved using backtracking search.

The correct digits for the blanks are drawn on an overlay frame, which is transformed to fit the largest rectangle that was discovered in the first step. The solution is then overlaid on the frame. The last example shows the current level of skew tolerance.

Requirements

Running the application

Compile:

cmake . && make main

Run in solve mode:

./main

Run using sample image:

./main sample

Run OCR sample data creator:

./main train

Press ESC to quit the application.

Future work

License

This project is licensed under terms of the MIT License.

sudoku-vision's People

Contributors

cys920622 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.