Maximum skew angle to detect, [0, 45] degrees.

Namespace:  AForge.Imaging
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: (


public double MaxSkewToDetect { get; set; }


The value sets maximum document's skew angle to detect. Document's skew angle can be as positive (rotated counter clockwise), as negative (rotated clockwise). So setting this value to 25, for example, will lead to [-25, 25] degrees detection range.

Scanned documents usually have skew in the [-20, 20] degrees range.

Default value is set to 30.

See Also