iPhone Sudoku Grab: How does it all work?
sudokugrab.blogspot.com/2009/07/how-does-it-a...Posted Jul 20, 2009, 5:10 PM UTC
Posted Jul 20, 2009, 5:10 PM UTC
What an excellent article. Thorough, easy to follow, with links to relevant materials.
Interesting use of image processing. I recently made a sudoku solver for a well-known gaming site. Just proof of concept of course.
The program would take a screenshot of the screen, then find out where the sudoku puzzle is placed. It would then use OCR to scan the grid for numbers, and store them in an 2d array, and give its results to a sudoku solver. The sudoku solver solves the puzzle (sometimes, it gives bogus answers, going to code my own soon), and sends the (hopefully!) solved puzzle to a keyboard mouse controller which compares the solved puzzle with the empty puzzle.
It would then take the grids that was empty before and start populate them with mouseclicks and keyboard input.
My image scanning procedure is pixel-by-pixel comparison, and therefore not really OCR, and is very slow. It takes approximately 7 seconds.
The input part also takes a little time, but not much. However "i" were the fastest sudoku solver for that specific day: http://imgur.com/rwSYz.jpg
cheater... virtual high-five
[deleted]
Never heard of this app before- very cool!