ImageGear .NET - Updated
SkewAmount Property




ImageGear24.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecPreprocessingSettings Class : SkewAmount Property
Gets or sets amount of image skew to correct when performing deskewing.
Syntax
'Declaration
 
Public Property SkewAmount As Integer
'Usage
 
Dim instance As ImGearRecPreprocessingSettings
Dim value As Integer
 
instance.SkewAmount = value
 
value = instance.SkewAmount
public int SkewAmount {get; set;}
public: __property int get_SkewAmount();
public: __property void set_SkewAmount( 
   int value
);
public:
property int SkewAmount {
   int get();
   void set (    int value);
}

Property Value

Integer value.
Remarks

This method specifies the value of the skew (slope value). The value given here is the number of pixels of vertical ascent on 1000 horizontal pixels. That is, the tangent of the deskew angle multiplied by 1000. The slope parameter must be in the range -577 to 577; that means the maximal absolute slope value is 30 degrees. Specifying a positive value rotates the image counter clockwise.

This value is used during the PREPROCESS process when the image deskewing mode is set to SET.

Use the DetectSkew method to detect the skew of an image containing machine printed text.

See Also

Reference

ImGearRecPreprocessingSettings Class
ImGearRecPreprocessingSettings Members
DetectSkew Method