This is a demo showing how to generate a Bongard problem that consists of seven rectangle positive images and seven circle negative images.
Note that all the negative images does not necessarily have to form a concept. Instead, each of them violating the concept in positive images would be sufficient for a Bongard problem.
To generate the Bongard demo images, please run the following command in the terminal.
python demo.py
The generated vector images would be saved in demo/ps
, whereas the corresponding PNG images would be saved in demo/png
. There is also a merged image from PNG images for human visualization in demo
.