A flag to indicate whether the size of the image should be maintained
unchanged, or allowed to change. Typically, this will be false and the
deskewed image will be slightly larger than the original image.
Instantiates a new DeskewOptions class with the specified values for the options.
Syntax
Parameters
- minimumCorrectableAngle
- The minimum amount of skew (in degrees) that is considered correctable.
Angles less than or equal to this amount will not be corrected.
This value must be between 0 and 2.
- minimumConfidence
- The minimum detection confidence required before correction will proceed.
If the detection confidence is less than this value, the image will not be modified.
This value must be an integer between 0 and 100.
- padColor
- The color to use for pixels that are added to the image.
Often, an image will be increased in size during skew correction to
avoid discarding parts of the corners of the original image.
Any color is acceptable, but the actual color used will be the
nearest color that can be represented in the current image.
- maintainOriginalSize
- A flag to indicate whether the size of the image should be maintained
unchanged, or allowed to change. Typically, this will be false and the
deskewed image will be slightly larger than the original image.
- quality
- A value that indicates the amount of effort to expend analyzing the image
to determine skew.
See Also