Class: Xberg::ImagePreprocessingConfig
- Inherits:
-
Object
- Object
- Xberg::ImagePreprocessingConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#auto_rotate ⇒ Boolean
readonly
Returns the value of attribute auto_rotate.
-
#binarization_method ⇒ String
readonly
Returns the value of attribute binarization_method.
-
#contrast_enhance ⇒ Boolean
readonly
Returns the value of attribute contrast_enhance.
-
#denoise ⇒ Boolean
readonly
Returns the value of attribute denoise.
-
#deskew ⇒ Boolean
readonly
Returns the value of attribute deskew.
-
#invert_colors ⇒ Boolean
readonly
Returns the value of attribute invert_colors.
-
#target_dpi ⇒ Integer
readonly
Returns the value of attribute target_dpi.
Instance Method Summary collapse
-
#initialize ⇒ ImagePreprocessingConfig
constructor
A new instance of ImagePreprocessingConfig.
Constructor Details
#initialize ⇒ ImagePreprocessingConfig
Returns a new instance of ImagePreprocessingConfig.
1319 |
# File 'sig/types.rbs', line 1319
def initialize: (?target_dpi: Integer, ?auto_rotate: bool, ?deskew: bool, ?denoise: bool, ?contrast_enhance: bool, ?binarization_method: String, ?invert_colors: bool) -> void
|
Instance Attribute Details
#auto_rotate ⇒ Boolean (readonly)
Returns the value of attribute auto_rotate.
1312 1313 1314 |
# File 'sig/types.rbs', line 1312 def auto_rotate @auto_rotate end |
#binarization_method ⇒ String (readonly)
Returns the value of attribute binarization_method.
1316 1317 1318 |
# File 'sig/types.rbs', line 1316 def binarization_method @binarization_method end |
#contrast_enhance ⇒ Boolean (readonly)
Returns the value of attribute contrast_enhance.
1315 1316 1317 |
# File 'sig/types.rbs', line 1315 def contrast_enhance @contrast_enhance end |
#denoise ⇒ Boolean (readonly)
Returns the value of attribute denoise.
1314 1315 1316 |
# File 'sig/types.rbs', line 1314 def denoise @denoise end |
#deskew ⇒ Boolean (readonly)
Returns the value of attribute deskew.
1313 1314 1315 |
# File 'sig/types.rbs', line 1313 def deskew @deskew end |
#invert_colors ⇒ Boolean (readonly)
Returns the value of attribute invert_colors.
1317 1318 1319 |
# File 'sig/types.rbs', line 1317 def invert_colors @invert_colors end |
#target_dpi ⇒ Integer (readonly)
Returns the value of attribute target_dpi.
1311 1312 1313 |
# File 'sig/types.rbs', line 1311 def target_dpi @target_dpi end |