Counting multiple dice results using OpenCV