An app to detect and solve sudokus using your smartphone camera
- install python 3.10
- install pip
- install pipenv
- run in project root:
pipenv install --devto install dependenciespipenv shellto activate virtualenv
./appis the location of the app
to run the app:
pipenv shellto ensure the virtualenv is activatedcd appto enter the app directorypython main.py
the app accepts one argument:
-dor--desktopto run the app in desktop mode. If the flag is not present, the app will run in mobile mode.- example:
python main.py -d
to compile the app for android:
-
connect your android phone to your computer
-
turn on developer mode on your android phone
-
enable USB debugging on your android phone through developer options
-
run
buildozer android debug deployin./app -
wait for the app to install and then run
adb logcat -s "python"to see the output (install adb if you don't have it) -
click on the app in the android phone
-
alternatively, you can use
buildozer android debug deploy runto immediately run the app, followed byadb logcat -s "python"
More information on buildozer