Statistics for Reference Text Line and Skew Rate Identification Using Gaussian Window