Python with OpenCV to count the number of pips on a die or dice.
You will need to install OpenCV and Numpy.
You can install these by running the following commands:
pip3 install opencv-python
pip3 install numpy
Following the library requirements, you can run the script to count the pips:
python3 example.py