This will start to address #8, specifically handling division by 0 cases when there are no pixels that are colored. We need to further work on being able to fix the image dimension and not allow the algorithm to insert empty (white) pieces - as you can see from the test image it gets parts of the solve but not all of it.
This will start to address #8, specifically handling division by 0 cases when there are no pixels that are colored. We need to further work on being able to fix the image dimension and not allow the algorithm to insert empty (white) pieces - as you can see from the test image it gets parts of the solve but not all of it.
cc @tabakg, please submit changes to this branch!