Our implementation of Canny edge detection and the Hough Transform should help to beat the following challenge: http://stackoverflow.com/questions/10196198/how-to-remove-convexity-defects-in-sudoku-square/11366549#11366549