Code covered by the BSD License  

Highlights from
Video Sudoku Solver

4.6

4.6 | 17 ratings Rate this file 148 Downloads (last 30 days) File Size: 192.44 KB File ID: #30088
image thumbnail

Video Sudoku Solver

by Teja Muppirala

 

19 Jan 2011 (Updated 11 Apr 2012)

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

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information
Description

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

Required Products Image Acquisition Toolbox
Image Processing Toolbox
MATLAB release MATLAB 7.11 (2010b)
Other requirements You will need: 1. A plain web camera that does not have a lot of noise. 2. A well focused image. 3. Decent lighting, with no large shadows on the image.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (20)
04 Mar 2011 Vital

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

29 Apr 2011 Nikesh Bajaj

Great....

29 Apr 2011 Andres Hoyos

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

02 May 2011 Vibhuti

really awesome !!

12 May 2011 Wu  
24 May 2011 Chee Syn Ang  
26 May 2011 Saint Alpha

Incredible! I like that!

28 May 2011 Arvydas  
28 May 2011 Arvydas

Brilliant work! One of the best!

28 May 2011 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?

07 Jun 2011 Nikolay Chumerin

Amazing! Nice work!

19 Jul 2011 FRN De La torre

Congrats!!! Really good work

17 Oct 2011 Assured  
18 Oct 2011 Peng-Jen Lai

impressive

30 Oct 2011 Mr Smart  
02 Nov 2011 ke

impressive, i have learned a lot from it.

07 Mar 2012 Kosai

very nice work

12 May 2012 Arash

Good Job!

30 May 2012 ali

very interesting

30 May 2012 Suleman Shafqat  
Please login to add a comment or rating.
Updates
24 Feb 2011

There was an insidious bug in
sudoku_solver.m

That is now fixed.

28 Feb 2011

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

03 Mar 2011

Added a missing file (TEMPLATEDATA)

11 Apr 2012

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.

Tag Activity for this File
Tag Applied By Date/Time
video processing Teja Muppirala 24 Jan 2011 12:30:09
sudoku Teja Muppirala 24 Jan 2011 12:30:09
image processing Teja Muppirala 24 Jan 2011 12:30:09
algorithm Teja Muppirala 24 Jan 2011 12:30:09
demo Teja Muppirala 24 Jan 2011 12:30:09
video processing Ankul 04 Jul 2011 00:42:37
potw Lindsay Coutinho 22 Jul 2011 10:36:32
pick of the week Lindsay Coutinho 22 Jul 2011 10:36:32
algorithm Krzysztof 17 Oct 2011 05:29:45
demo Nick 17 Oct 2011 10:15:29
algorithm Lazim Mohammed 19 Mar 2012 08:52:43

Contact us at files@mathworks.com