Skew and slant correction for document images using gradient direction | IEEE Conference Publication | IEEE Xplore