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 --dev
to install dependenciespipenv shell
to activate virtualenv
./app
is the location of the app
to run the app:
pipenv shell
to ensure the virtualenv is activatedcd app
to enter the app directorypython main.py
the app accepts one argument:
-d
or--desktop
to 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 deploy
in./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 run
to immediately run the app, followed byadb logcat -s "python"
More information on buildozer