Get skew angle of the provided document image.
Namespace:
AForge.ImagingAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
Parameters
- image
- Type: System.Drawing..::.Bitmap
Document’s image to get skew angle of.
Return Value
Returns document’s skew angle. If the returned angle equals to -90, then document skew detection has failed.
Exceptions
| Exception | Condition |
|---|---|
| AForge.Imaging..::.UnsupportedImageFormatException | Unsupported pixel format of the source image. |