Click or drag to resize
Accord.NET (logo)

DocumentSkewCheckerMaxSkewToDetect Property

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

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
public double MaxSkewToDetect { get; set; }
Request Example View Source

Property Value

Type: Double

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