Skew detection for complex document images using robust borderlines in both text and non-text regions
skew detection and correction in document images bsed on straight - line fitting .