Code covered by the BSD License
-
drawsudoku(M)
Basically, show the input M, and solution Msol, in a table
-
identifynumbers_fun(pts,Pnew,...
This function uses the vertices of the puzzle quadrilateral "pts"
-
mysudokusolver(filename)
-
solution2image(M,Msol)
This basically plots the solution, prints it to a temporary file, copies
-
sudoku_solver(D)
-
sudokuvideo_fn()
-
sudokuvideo_fn_trace(h,I0,I,p...
Carry out the projective transform
-
sampleprocess.m
-
View all files
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.
|
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 (R2010b)
|
| 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.
|
| 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. |
|
Contact us