I am facing problem to get the skew angle from image .I am using tesseract api for image processing. I have searched a lot on web but no appropriate solution found. I have used following code:
Pix test=ReadFile.readBitmap(bitmap.createBitmap(400, 400, Config.ARGB_8888));
float angle=Skew.findSkew(test);
from above code I get angle value 0.0. Please help me to resolve this problem or show the right direction to resolve this problem.