Giter Site home page Giter Site logo

dreamerchandra / sudokusolver Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 56.49 MB

This is an android app which is build using opencv and Auto ML. This project uses Opencv to detect the sudoku from the camera and uses AutoML to recognise digits from the image.

Home Page: https://www.youtube.com/watch?v=EpD2xlgQ-3w

Java 100.00%
opencv4android automl android-application

sudokusolver's Introduction

sudokusolver

Point this app towards sudoku and booms it will get solved!!

About this project

This is an android app which is build using opencv and Auto ML. THis project uses Opencv to detect the sudoku from the camera and uses AutoML to recognize digits from the image.
This project is an wrapper on prajwalkr sudoku solving algorithm using python. The same algorithm is applied on android whereas his project is on python.

Algorithm

  1. Preprocessing of image -Grayscale, Thresholding
  2. Getting all the rectangle
    1. Canny edge detection is applied followed by Gaussian Blur to remove noise
    2. Contour edge detection is applied to get the rectangles in the image
  3. Highlighting the sudoku
    1. Sorting the rectangles based on area in descending order of its contour area
    2. Calculate the distance between the corner for top 5 sorted rectangle in order to find the square
    3. Highlight that contour. Most probability it will be the sudoku
  4. Once the user feels sudoku is highlighted properly. Scan button can be pressed.
  5. Wrap perspective transformation is applied on the sudoku
  6. On clicking on the extract button sudoku is sliced evenly to get the individual cells
  7. AutoML is applied on the individual cells to get the corresponding numbers in the cells
  8. Currently backtracking is used to solve sudoku.

Working

Sudoku   solver
Click on the image to play the video

sudokusolver's People

Contributors

dreamerchandra avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

simranjitkaur29

sudokusolver's Issues

Automl

where can i find the code that is used to detect digits using automl?
where is this automl file is used in this project?

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.