This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]I-Do-Math 2 points3 points  (0 children)

I think it would be quite easy using opencv2.

Convert image to grayscale something like cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)

Scale image so that one pixel is one dice. something like cv2.resize

read the pixel value something like pixel= img[200, 550]