Generates synthetic datasets for training and evaluating vision models on geometric intersection and boundary identification tasks. Each sample contains overlapping translucent shapes where the exact boundary of the intersection region must be outlined.
Each sample pairs a task (first frame + prompt describing what needs to happen) with its ground truth solution (final frame showing the result + video demonstrating how to achieve it). This structure enables both model evaluation and training.
| Property | Value |
|---|---|
| Task ID | G-137 |
| Task | Identify Figure in Overlapping Area |
| Category | Perception |
| Resolution | 1024×1024 px |
| FPS | 16 fps |
| Duration | ~2 seconds |
| Output | PNG images + MP4 video |
# 1. Clone the repository
git clone https://github.com/VBVR-DataFactory/G-137_identify_figure_in_overlapping_area_data-generator.git
cd G-137_identify_figure_in_overlapping_area_data-generator
# 2. Create and activate virtual environment
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# 3. Install dependencies
pip install --upgrade pip
pip install -r requirements.txt
pip install -e .# Generate 50 samples
python examples/generate.py --num-samples 50
# Custom output directory
python examples/generate.py --num-samples 100 --output data/my_dataset
# Reproducible generation with seed
python examples/generate.py --num-samples 50 --seed 42
# Without videos (faster)
python examples/generate.py --num-samples 50 --no-videos| Argument | Description |
|---|---|
--num-samples |
Number of tasks to generate (required) |
--output |
Output directory (default: data/questions) |
--seed |
Random seed for reproducibility |
--no-videos |
Skip video generation (images only) |
The scene shows two translucent shapes that partially overlap: a diamond and a circle. First locate the region covered by both shapes (their intersection), then outline the exact boundary of that overlapping region with a red line. Show the complete outlining process step by step.
![]() |
![]() |
![]() |
| Initial Frame Two overlapping translucent shapes |
Animation Intersection boundary outlined in red |
Final Frame Complete red outline of overlapping region |
Locate and outline the exact boundary of the intersection region formed by two overlapping translucent shapes.
- Shapes: Two translucent geometric figures (e.g., ellipse and triangle)
- Overlap: Shapes partially intersect creating visible overlap region
- Intersection region: Area covered by both shapes simultaneously
- Outlining: Draw red line along exact boundary of intersection
- Task: Identify and trace intersection boundary
- Background: White with clear visibility
- Goal: Complete red outline of overlapping area
- Geometric intersection boundary detection
- Shape intersection computation
- Translucent shape visualization
- Tests spatial reasoning and boundary tracing
- Precise contour drawing along intersection edge
- Understanding of geometric overlap
data/questions/identify_figure_in_overlapping_area_task/identify_figure_in_overlapping_area_00000000/
├── first_frame.png # Two overlapping shapes
├── final_frame.png # Intersection boundary outlined in red
├── prompt.txt # Boundary identification instruction
├── ground_truth.mp4 # Animation of outlining process
└── question_metadata.json # Task metadata
File specifications:
- Images: 1024×1024 PNG format
- Video: MP4 format, 16 fps
- Duration: ~2 seconds
visual-reasoning spatial-reasoning geometric-intersection boundary-detection contour-tracing transparency


