← All posts

Detecting gate frames from RGB

A small segmentation model finds the frame before the pipeline asks for precise corners.

Simulated camera view beside the gate-frame segmentation mask

We trained a small U-Net to segment the gate frame from a 160 × 120 RGB image. Simulation geometry provides labels and evaluation masks. At runtime the network receives only the image.

Measuring the mask on a full flight

The detector reached 0.967 intersection over union across 12,000 randomized validation poses. On the 959 frames of one complete teacher flight, its average IoU was 0.948. Testing a continuous flight complements the randomized poses by showing the detector at the sequences of angles and distances the teacher actually flies.

The dataset and evaluation frames are rendered. The results do not establish how the mask behaves with real optical artifacts, video compression or unfamiliar backgrounds.

Watch the gate-mask recording