SkewDetectionFine estimates the orientation angle (in degrees) of the lines of text.

Apply this method only to images that contains printed text.

SkewDetectionFine doesn’t use a Hough transform (like SkewDetection), but progressive rotations to find the best orientation.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public double SkewDetectionFine(
	double startingAngle,
	double resolution,
	int range,
	bool maxQuality
)
Public Function SkewDetectionFine ( _
	startingAngle As Double, _
	resolution As Double, _
	range As Integer, _
	maxQuality As Boolean _
) As Double
public:
double SkewDetectionFine(
	double startingAngle, 
	double resolution, 
	int range, 
	bool maxQuality
)

Parameters

startingAngle
Double
specifies the starting angle, if you know it (0 otherwise)
resolution
Double
is the angle increment (0.1 is good)
range
Int32
specifies the angle range (example 10, try from -5 to +5)
maxQuality
Boolean
if False, create a thumbnail of the image and works on it.

Return Value

the rotation angle

See Also