prajwalkr / SnapSudoku

Extract and solve Sudoku from an image
MIT License
250 stars 40 forks source link

Run SnapSudoku on a smart phone #3

Closed cclauss closed 4 years ago

cclauss commented 8 years ago

It would be cool to get SnapSudoku running on the iPhone so that you could use the camera to do the snap and immediately solve the puzzle right on the phone. It would drive Sudoku players crazy if you could walk up with your smart phone, snap a picture of their puzzle, and show them the solution. Pythonista is a Python 2.7 IDE for iOS and it currently has Python 3.5 support in beta testing. Pythonista does support NumPy and Pillow (PIL) but does not yet support OpenCV or SciPy.

aulisius commented 8 years ago

Hey, this is something I was planning too :D

I was thinking along the lines of a web service with a REST API to which we can POST the image and get the solution in the response. This must be easier than having to create an iOS/Android in non-native language.

krishnarb3 commented 8 years ago

This already exists on the play store using OpenCV with java / c++ Some of these are on github too , so you could check them out.

aulisius commented 8 years ago

Everything that you imagine exists. Doesn't mean we shouldn't be doing it :)

Plus providing a web API means it can be extended by others rather being locked down in one app

cclauss commented 8 years ago

http://sudokugrab.blogspot.com/2009/07/how-does-it-all-work.html has a good summary of puzzle detection algorithms, and some references on number recognition.