File Exchange

image thumbnail

Video Sudoku Solver

version 1.7.0.1 (192 KB) by Teja Muppirala
Solves a sudoku with a web camera and then displays it while tracking the original video feed.

15 Downloads

Updated 01 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)」は二コリの日本における登録商標です。

Comments and Ratings (47)

fan chang

Long Gao

すごい!太牛了,看知乎过来的,虽然不太会用。再研究一下。Nice!

Sir,
what is templatedata.mat

zong chen

chong zhou

Sanshi Wu

Chi Chang

tom zhuo

Very nice work.
But I can't download this Zip with error hint "Bad Server Connect". If there has any other way to get it?

Cheng Shen

Zh Hacker

vikram

my web cam shows mirrored numbers how to fix dat sir

ümit Kisa

Very nice work.
Character recognition might be somewhat more robust if a thinning operation, than look for line segments and relative angles/breaks (that's how people recognize numbers).

Fyraj Fyraj

apc2

great work !!!!!!!!!!!

Abhilash G

Asri Khalid

great, nice, wonderful

Vijay

hakan

just how intelligent guys u are ?

Significant work!

madhu

すごい!!

ali

very interesting

Arash

Good Job!

Kosai

very nice work

ke

impressive, i have learned a lot from it.

Mr Smart

impressive

Assured

Congrats!!! Really good work

Amazing! Nice work!

Arvydas

Dear Teja,
could you tell me how can I change all this to be able to recognise numbers on a playing cards?
I can see you got a data template for the digits. How could I tell it to scan a number and tell me which is it just on a screen? Is it difficult?

Arvydas

Brilliant work! One of the best!

Arvydas

Saint Alpha

Incredible! I like that!

James

Wu

Vibhuti

really awesome !!

I can't imagina, that company pays you for do that work, it's so fun.

Nikesh Bajaj

Great....

Vital

Nice work, nxt step to mechanically automate the process? http://www.youtube.com/watch?v=ReRSCSrtr58

Updates

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.

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

Inspired: Sudoku Solver with Computer Voice