Skip to content

app that takes an image of sudoku board and outputs the solution overlayed

Notifications You must be signed in to change notification settings

pstarszyk/sudoku-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sudoku-solver

sudoku-solver is an app that takes an image of your sudoku board and outputs an image of your board with the solution overlayed.

Run the App

Run the following to clone repo, build and run docker image

git clone [email protected]:pstarszyk/sudoku-solver.git
cd sudoku-solver
docker build -t app .
docker run -p 8001:8001 -e PORT=8001 app

Now your app is running and you can call endpoint http://0.0.0.0:8001/solve

cURL

If you have your own app in which you want to call this endpoint or you just want to call it from terminal, the below curl command sends a POST request of your image file and outputs the bytes response as JPG in your specified path.

curl -X POST \
-F files=@<path/to/your/file.jpg> \
http://0.0.0.0:8001/solve \
--output <path/to/your/output.jpg>

About

app that takes an image of sudoku board and outputs the solution overlayed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published