Video Sudoku Solver

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

View License

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

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)



Cite As

Teja Muppirala (2024). Video Sudoku Solver (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Updated license

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.

Added a missing file (TEMPLATEDATA)

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

There was an insidious bug in

That is now fixed.