-1

With the PDF below, I would like to do the following things.

  1. Localize the four sudoku grids so as to treat each of them separately.
  2. For each grid picture, I would like to obtain a matrix of the pictures corresponding to each cell.
  3. Finally, I would like to "find" the values printed in each cell.

The problem is that I'm a real beginner with OpenCV (I've bought a book about OpenCV with Python but I've not received it yet).

I'm not a beginner in Python, neither in math so every clue is welcomed.

enter image description here

2 Answers2

1

You're in luck:

sudoku solver part 1

part 2

part 3

part 4

Python 3.x isn't supported by OpenCV though.

b_m
  • 1,473
  • 2
  • 18
  • 29
  • Thanks for the link. I've already done my solver. There is still one question. How to localize each grid independently ? –  Feb 17 '13 at 21:54
  • I believe that part 2 covers that too. He does this for one grid, but you should have no problem doing that for all four. – b_m Feb 17 '13 at 22:00
  • I will play with all of this as soon as possible. –  Feb 17 '13 at 22:05
  • Just to keep this answer up to date, now OpenCV supports Python 3 with OpenCV 3 Beta. – Julien Palard Oct 22 '14 at 22:04
0

tesseract has nice python bindings, too (and is more specialized on that 'ocr' job ;)

welcome to opencv, though !

berak
  • 39,159
  • 9
  • 91
  • 89