How to remove convexity defects in a Sudoku square?

前端 未结 6 986
庸人自扰
庸人自扰 2020-11-22 08:29

I was doing a fun project: Solving a Sudoku from an input image using OpenCV (as in Google goggles etc). And I have completed the task, but at the end I found a little probl

6条回答
  •  遥遥无期
    2020-11-22 09:06

    You could try to use some kind of grid based modeling of you arbitrary warping. And since the sudoku already is a grid, that shouldn't be too hard.

    So you could try to detect the boundaries of each 3x3 subregion and then warp each region individually. If the detection succeeds it would give you a better approximation.

提交回复
热议问题