Text skew detection using log-polar transformation