Skip to content

A simple Sudoku solver using OpenCV compiled to WASM and Tensorflow to run in the browser

Notifications You must be signed in to change notification settings

RingoDev/Sudoku-Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

57a832f · Dec 31, 2024

History

65 Commits
Apr 7, 2024
Apr 7, 2024
Dec 6, 2024
Nov 1, 2022
Dec 31, 2024
Nov 1, 2022
Apr 7, 2024
Dec 31, 2024
Apr 5, 2024
Dec 6, 2024
Dec 6, 2024
Dec 31, 2024
Apr 4, 2024
Apr 4, 2024
Apr 4, 2024
Dec 6, 2024

Repository files navigation

Picture-Solver

This is a next.js app that uses image recognition to parse and detect a Sudoku from a picture. Additionally it allows the user to step through the sudoku step by step to get additional hints of which number could have been found next.

Image recognition

THe image recognition is done by using openCV for processing and trying to find a grid in a picture that resembles a Sudoku. Afterwards the sudoku is transposed and cut into 81 parts that are sent through the MNIST model for recognising handwritten integers.

All of this is purely done in the browser by using tensorflow JS and an openCV WebAssembly port.

Sudoku Solving

Currently, the solving capabilities are quite limited and only work for "simple" cases. This could be improved in the future.

Sudoku Solver

About

A simple Sudoku solver using OpenCV compiled to WASM and Tensorflow to run in the browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published