Recurrent segmentation temporal network