Text this: River Contour Recognition and Extraction Algorithm Based on Kirsch Operator and Multi-level Threshold Segmentation