Skip to content

Latest commit

 

History

History

00-rectangle_vs_circle

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Bongard Problem: Rectangle VS Circle

Introduction

This is a demo showing how to generate a Bongard problem that consists of seven rectangle positive images and seven circle negative images.

Rectangle VS Circle

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.

Usages

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.