Optimization of the extended water flow algorithm for the text-line segmentation | IEEE Conference Publication | IEEE Xplore