SnapSudoku icon indicating copy to clipboard operation
SnapSudoku copied to clipboard

Fails to replicate result with the image from the README

Open hnstr opened this issue 8 years ago • 6 comments

Hi,

Thanks for providing this! I might be doing something wrong here though, because after cloning your repo and installing the right packages, I tried to run it with the image provided in the README. However, I did not get the same output, but instead:

Image loaded.
Preprocessing... done.
Cropping out Sudoku... done.
Straightening image... done.
Extracting cells... done.
No solution found.  Please rescan the puzzle.

Do you know what might be the issue? What might I be doing wrong?

hnstr avatar Sep 13 '16 08:09 hnstr

That's surprising. Could you please uncomment the following lines in scripts/sudokuExtractor.py:

Line 19, 21 23

and run it again to see the outputs after preprocessing, after cropping out sudoku grid and final sudoku grid?

Are the intermediate outputs as expected?

prajwalkr avatar Sep 14 '16 08:09 prajwalkr

Yes, that all seems to be working as intended.

See final sudoku grid: screen shot 2016-09-15 at 14 04 27

However, when I print out the grid, it shows me this:

screen shot 2016-09-15 at 14 05 22

It seems like the number recognition is not working as intended?

hnstr avatar Sep 15 '16 12:09 hnstr

fu

I get this error after uncommenting lines 19,21,23...

ghost avatar Jun 17 '17 06:06 ghost

@Arvindsinc2 Are you running in cloud ??

Navdevl avatar Jul 05 '17 19:07 Navdevl

NO, but i am running this on VM-ware with ubuntu server 16.04.

ghost avatar Jul 06 '17 05:07 ghost

Hi,

same problem here. Did anyone solved it? My recognition is not working?

Thanks a lot.

Cu kami

kami83 avatar Sep 05 '18 14:09 kami83