⚀⚁ ⚂⚃ ⚄⚅

Dice Pictures for Image Recognition

This archive contains a thousand images showing random arrangements of two ordinary right-handed dice (where the pips on opposite sides add up to 7, and the sides containing 1, 2 and 3 pips are arranged anticlockwise around a shared vertex).

These images were created for a programming challenge at codegolf.stackexchange.com, but might be useful for testing machine learning and image processing algorithms in general. They were made by running a Python script in Blender v2.79. The Blender files and Python script are also included in this archive, so you can create additional images if you like.

Organization

When unpacked, the archive contains the following items:

README.html
This file.
blender/
The Blender files and Python script used to create these images are stored in this folder.
images/
A folder containing 1000 rendered images saved as JPEG files with dimensions of 240×180 pixels. The files are numbered sequentially from dice_000.jpg to dice_999.jpg.
pip_data.txt
A file containing the number of pips shown by the two dice in each image, arranged in ascending numerical order and separated by a comma. The first line corresponds to the file dice_000.jpg, the second line corresponds to dice_001.jpg, and so on (1000 lines in total).

Licensing

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

The Blender files include an HDRI environment map obtained from hdrihaven.com (license: CC0).


Author: Phil Ronan