Simple segment detector and metrics.