Calculate the score of a roll of dice from an image using Python and OpenCV