For those who don't want to take the time to read this long blog post, this is a collection of discussed techniques:
Techniques used to convert an angled photo of a sudoku into a computer representation of a sudoku (ie 9x9 array of digits)
- grayscale the image
- threshold (bad)
- adaptive threshold
-* blob extraction algorithm to find the sudoku outline by flood fill (assumes it is not disconnected!)
-* Hough transform to find straight lines
-* map back the found lines and find four intersection points
- perspective transform to transform picture back to a square
-* manually-trained neural network as OCR for the numerals
The points marked with * are not interesting for bar code reading because they either do not apply, or because they are very computationally expensive.
Interesting though, the remaining points are already implemented for some time now.
No need to visit the link unless you are a curious computer scientist.
Regards,
Mark Jeronimus