Is there a possibilty there exist multiple solution for same sudoku? The code written produces result for each test image but still accuracy is not 1. For wrong input sudoku, the code gives no possible solution.
Each sudoku puzzle has a unique solution. Probably the digit recognized in the image is wrong due to which you may be getting accuracy 1.