GitXplorerGitXplorer
W

Sudoku-Solver-iOS

public
4 stars
1 forks
1 issues

Commits

List of commits on branch master.
Verified
d803b2c8d8f5513252c4b69cdcac09c8cc905a24

Update README.md

WWill-MingLun-Li committed 7 years ago
Unverified
6fad729df8022e08fd083cf8ff44cdb05091da4f

Added comments

WWill-MingLun-Li committed 7 years ago
Unverified
fe53b31c41e33f064facb20c12014fe968214266

Added alert for no solution

WWill-MingLun-Li committed 7 years ago
Unverified
a976f98b6f89bb8cc4b7b0edcc2dd25ad909ae59

Core functionalities are all done

WWill-MingLun-Li committed 7 years ago
Verified
b0cdf5cb78ccf52f19a1e5a5d31463517e211f9b

Update README.md

WWill-MingLun-Li committed 7 years ago
Unverified
785231d7229d4eef05e4b971a227a5dd5dcbe9f9

Can edit false values now

WWill-MingLun-Li committed 7 years ago

README

The README file for this repository.

Sudoku-Solver-iOS

A simple Computer Vision iOS Sudoku Solver app that allow users to take a picture of a sudoku puzzle, then provide them with what it thinks the numbers are at what locations and solves it using the classic backtracking algorithm.


The cursor on the screen indicates where the puzzle should be placed (The better it fits, the better the reading accuracy). When the camera is adjusted, simply tap to camera button and a grid will be presented.

grid                              keyboard

The app will extract the grid from the picture taken and run it through some image processing functions to reduce noises and make certain features easier to read. Then it will divide the picture into 81 square pieces and read each number individually using a trained MNIST dataset. The reading is not perfect, the accuracy can go anywhere from 20% to 90% depending on lighting, angle, camera quality, font, etc. Which is why after the readings are done, users can actually edit the false values to make them right.

Afterwards simply press 'solve' and it will present the solution. (The values read are in blue while the solved values are in black).