Generate synthetic landscape images at low resolution. For use in diagnosing ML systems.
To install use
pip install -r requirements.txt
python setup.py install
The requirements are:
numpy
scipy
pytest
(for testing)notebook
(for notebooks)matplotlib
(for notebooks)
See the example notebook in notebooks/Example.ipynb
. Landscapes are constructed by adding features to the scene and then calling the generate()
function. This function uses an RNG to assign pixel colors following the rules of the features in the landscape. The result are things like:
This example landscape contains some sky features, a gradient in the sky to invoke a sunset, the sun, and a few dozen trees. The objects in the scene follow heuristics, but the pixel values themselves are the result of an RNG. Hence, landscape scenes like this can be used to double check that an ML algorithm is learning the image correctly.