Statistics for Text Line Segmentation with the Parametric Water Flow Algorithm