← back to roto on ba3a.dev

groundY

fun groundY(masks: List<Mask>): Int

The row a clip's feet stand on: the median of each frame's lowest foreground row. While walking one foot is nearly always down, and the median ignores the few frames where both are up, or where a shadow survived masking under one of them.