Video Sudoku Solver

Solves a sudoku with a web camera and then displays it while tracking the original video feed.
12K Downloads
Updated 1 Sep 2016

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

English:
This demo attempts to identify the numbers in a sudoku puzzle using video input, and then solves the solution.
The solution can then be overlayed on the original video feed, which it tracks in real time.
”SUDOKU” is a registered trademark of NIKOLI Co., Ltd. (Japan)

Japanese:
このデモは、カメラの入力により、数独パズルの動画を読み込みます。読み込んだ映像から、数値を読み取って、パズルの解答を求めます。最後に、その回答を、元のビデオの上に、リアルタイムにトラッキングしながら、重ねて表示します。

「数独(SUDOKU)」は二コリの日本における登録商標です。

Cite As

Teja Muppirala (2026). Video Sudoku Solver (https://se.mathworks.com/matlabcentral/fileexchange/30088-video-sudoku-solver), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.7.0.1

Updated license

1.7.0.0

Due to a few changes regarding MATLAB math in R2012a, this demo needed some updating. Namely, since MEDIAN now errors with UINT8 input, a small fix we needed to correct this. This updated file should now work with R2012a.

1.5.0.0

Added a missing file (TEMPLATEDATA)

1.4.0.0

Added a notice in the description regarding the fact that "Sudoku" is a trademark in Japan.

1.3.0.0

There was an insidious bug in
sudoku_solver.m

That is now fixed.

1.0.0.0