Using OpenCV to extract features from a crossword puzzle image