{"id":17334880,"url":"https://github.com/tfeldmann/sudoku","last_synced_at":"2025-04-14T18:23:36.840Z","repository":{"id":10815497,"uuid":"13090407","full_name":"tfeldmann/Sudoku","owner":"tfeldmann","description":"Use your webcam to detect and solve any 9x9 sudoku","archived":false,"fork":false,"pushed_at":"2014-02-07T09:11:20.000Z","size":4856,"stargazers_count":26,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T06:51:11.679Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tfeldmann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-25T10:09:11.000Z","updated_at":"2024-01-29T15:35:05.000Z","dependencies_parsed_at":"2022-08-29T13:31:13.270Z","dependency_job_id":null,"html_url":"https://github.com/tfeldmann/Sudoku","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfeldmann%2FSudoku","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfeldmann%2FSudoku/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfeldmann%2FSudoku/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfeldmann%2FSudoku/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tfeldmann","download_url":"https://codeload.github.com/tfeldmann/Sudoku/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248934102,"owners_count":21185597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T15:07:25.982Z","updated_at":"2025-04-14T18:23:36.797Z","avatar_url":"https://github.com/tfeldmann.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\u003cimg src=\"Resources/Icon.png\" alt=\"Sudoku-CV Icon\"\u003e\u003c/div\u003e\n\nSolve sudokus by showing them to your webcam.\n\nThis program is written in Python and uses OpenCV for image processing and Tesseract for OCR. The sudoku is solved using the python-constraint library.\n\n\n## Screenshots\n\u003cdiv align=\"center\"\u003e\u003cimg src=\"Resources/Screenshot.png\" alt=\"Sudoku-CV\"\u003e\u003c/div\u003e\n\n\n## Download\nComing soon.\n\n- Mac OS X\n- Windows\n\n\n## Running from source\nTo run the program execute (To close the program press `q`):\n```\npython sudoku-cv.py\n```\nThis will start the program in video stream mode with the internal camera.\n\nThe script supports several command line arguments:\n```\n\u003e\u003e python sudoku-cv.py --help\nusage: sudoku-cv.py [-h] [-o FILE] [-c CAMERA] [-d]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -o FILE, --file FILE  Input file (eg: test.png)\n  -c CAMERA, --camera CAMERA\n                        Camera stream to capture, default: 0\n  -d, --debug           Enable debug mode (shows processing steps)\n```\n\n- To open a test picture use:\n`python sudoku-cv.py -o test_pictures/sudoku-easy.png`\n- To use another connected camera than the internal one (default: 0):\n`python sudoku-cv.py -c 1`\n\n\n## Installing the development environment\nThis program is tested with `Python 2.7.5`, `OpenCV 2.4.7`,\n`tesseract 3.02.02`, `numpy 1.8.0` and `python-tesseract 2.0.11` but should work with newer versions.\n\nOn Windows:\n\n- Install [Python(x,y)](https://code.google.com/p/pythonxy/wiki/Downloads)\n- Install [Tesseract](https://code.google.com/p/tesseract-ocr)\n- `pip install python-tesseract` in command line\n- start program with `python sudoku-cv.py`\n\nOn Mac:\n\n- Install [Homebrew](http://brew.sh)\n- `brew install python opencv tesseract`\n- `pip install python-tesseract`\n- start program with `python sudoku-cv.py`\n\n\n## Creating standalone executables\nFirst make sure you can run the program successfully with `python sudoku-cv.py`. Then compile the files using [PyInstaller](https://github.com/pyinstaller/pyinstaller)\n\n```\nMac:\npython -O pyinstaller.py sudoku-cv-mac.spec\n\nWindows:\npython -O pyinstaller.py sudoku-cv.py\n```\n\n## Documentation\nYou can find .tex files for the German step-by-step documentation for the code in the folder `Documentation`.\nPlease open an issue in this repository if you have any questions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfeldmann%2Fsudoku","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftfeldmann%2Fsudoku","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfeldmann%2Fsudoku/lists"}