View Single Post
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#1
https://www.youtube.com/watch?v=KTNSRUuE3Pw

Have you ever wanted to cheat on sudoku? Me neither. But here it is: sudokusolver for N900. Using Google-goggles (http://talk.maemo.org/showthread.php?p=1182958 and http://notanothercodeblog.blogspot.f...ggles-api.html)

sudokusolver takes any jpeg-file, sends it to the server and if it was sudoku, solution will be returned. With sharing-cli (http://talk.maemo.org/showthread.php?t=39705) it can be used with camera application.

-------
Usage with camera:
*(only in first time) Install ggoggles-sudoku and sharing-cli
*open camera
*take picture of sudoku
*go to the gallery
*select just taken picture
*click to get toolbar
*crop it
*share (save when asked)
*share via service
*command line sharing
*(only in first time) type command: ('CLI command')
sudokusolver %s
(don't use Capital Letter S)
-press OK
-press Validate
*share
*wait 2 seconds and there will be new window with solved sudoku (or error message)


If you messed command: Phone settings -> sharing accounts -> click 'Command line sharing' to edit.

---------------------
Usage with commandline / Troubleshooting (and info for developers)

You can pass any jpg-image to the ggoggles and check textual output what it returns about image:
Code:
python /usr/lib/pymodules/python2.5/ggoggles/__init__.py MyDocs/DCIM/20130425_011.jpg
sudokusolver just parses this textual result and draw it to the screen if there are keywords for solved sudoku. Sometimes it fails to solve sudoku (even it recognized it to be sudoku).
Attached Images
 
 

The Following 8 Users Say Thank You to AapoRantalainen For This Useful Post: