Giter Club home page Giter Club logo

sudokusolver's Introduction

#SudokuSolver

============

Android application that captures image of Sudoku puzzle using camera and processes solution using image processing and OCR technology.

#Screenshots sudoku-before sudoku-solved

#Libraries Used

#Future Optimizations

  • Sodoku solving algorithm

    1. currently using greedy backtracking algorithm- could use different heuristics to improve performance of algorithm.
  • Image processing

    1. Noise reduction currently using connected component labelling algorithm to remove parts of the image which aren't numbers which requires a passthrough of all the pixels in the image.
      Improvement: Could possibly use a more efficient approach to reduce image noise.

    2. Puzzle detection: currently scanning through image from center across all four directions until outer gridlines of puzzle is reached, which is really inefficient.
      Improvement: Could use an algorithm to detect the largest rectangle/square in the image and assume that to be the puzzle.

    3. Continuous feed detection feature: currently only executes image processing when button is pressed.
      Improvement: Could have a feature that continuously detects a sudoku puzzle and overlays the solution onto the preview.

    4. Rotation detection: currently can detect a puzzle with a few degrees of rotation.
      Improvement: Could have a pre-processing feature that detects the angle of the rotation and rotates the image before using the image processing algorithms.

Analytics

sudokusolver's People

Contributors

ernestwong avatar

Watchers

Ivan Cerrate 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.