Image processing script (OpenCV / Python) dice detection

Closed - This job posting has been filled and work has been completed.

Job Description

I require a python script that can process an image containing dice inside of a fixed round area and count the number of pips showing on on each die face.

Please refer to the attached images for examples of the images that require processing. (More images will be supplied to assist in testing accuracy of recognition)

There is a brief outline of one possible algorithm for achieving this in the comments under this video:

The script should be able to take a image as a parameter from the command line.

Output should return a JSON object containing the values shown on each die.

Open Attachment