A deep neural network trained from scratch. > 99% accurate in various lighting conditions.
-
Clone this repository (fork it first if you want to deploy to Heroku):
git clone https://github.com/chrisluedtke/sudoku-cv.git -
Within project repository, create a virtual environment:
python -m venv env -
Activate the environment:
Windows:
env\Scripts\activate -
pip install --user --upgrade pip -
Install requirements:
pip install -r requirements-opencv.txtor
pip install -r requirements-pi.txt -
Create a
.envwith contents:FLASK_APP=app:APP FLASK_ENV=development CAMERA=opencv -
Run the web app (the database will be initialized automatically):
flask run -
Navigate to the locally served page, typically
http://localhost:5000/ -
Optional: Create an ipython kernel to use Jupyter Notebook with this environment (see documentation).
ipython kernel install --user --name=sudoku- You may also need to copy the
.dllfiles fromenvLib/site-packages/pywin32_system32toenv/Lib/site-packages/win32
- You may also need to copy the
