Improved letter detection by involving edges

Played with thresholding, not quite good enough