3 ms·
> Sum the digits on the dies? 5 lines of openCV should do the trick. Not so fast: First the images show dices with a mixture of dots and numbers. Second the im
by amai 3y ago
> Sum the digits on the dies? 5 lines of openCV should do the trick.
Not so fast: First the images show dices with a mixture of dots and numbers. Second the images are not from the top, but at 45 degree angle. By that one can also see the numbers/dots on the side of the dices. Distinguishing numbers/dots which are on the side from ones on the top is pretty hard. The algorithm needs to have an understanding of the 3d structure of the dices in the image.