Class: Xberg::ImagePreprocessingConfig
- Inherits:
-
Object
- Object
- Xberg::ImagePreprocessingConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#auto_rotate ⇒ Boolean?
Returns the value of attribute auto_rotate.
-
#binarization_method ⇒ String?
Returns the value of attribute binarization_method.
-
#contrast_enhance ⇒ Boolean?
Returns the value of attribute contrast_enhance.
-
#denoise ⇒ Boolean?
Returns the value of attribute denoise.
-
#deskew ⇒ Boolean?
Returns the value of attribute deskew.
-
#invert_colors ⇒ Boolean?
Returns the value of attribute invert_colors.
-
#target_dpi ⇒ Integer?
Returns the value of attribute target_dpi.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ ImagePreprocessingConfig
constructor
A new instance of ImagePreprocessingConfig.
Constructor Details
#initialize ⇒ ImagePreprocessingConfig
Returns a new instance of ImagePreprocessingConfig.
1172 |
# File 'sig/types.rbs', line 1172
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?
Returns the value of attribute auto_rotate.
1165 1166 1167 |
# File 'sig/types.rbs', line 1165 def auto_rotate @auto_rotate end |
#binarization_method ⇒ String?
Returns the value of attribute binarization_method.
1169 1170 1171 |
# File 'sig/types.rbs', line 1169 def binarization_method @binarization_method end |
#contrast_enhance ⇒ Boolean?
Returns the value of attribute contrast_enhance.
1168 1169 1170 |
# File 'sig/types.rbs', line 1168 def contrast_enhance @contrast_enhance end |
#denoise ⇒ Boolean?
Returns the value of attribute denoise.
1167 1168 1169 |
# File 'sig/types.rbs', line 1167 def denoise @denoise end |
#deskew ⇒ Boolean?
Returns the value of attribute deskew.
1166 1167 1168 |
# File 'sig/types.rbs', line 1166 def deskew @deskew end |
#invert_colors ⇒ Boolean?
Returns the value of attribute invert_colors.
1170 1171 1172 |
# File 'sig/types.rbs', line 1170 def invert_colors @invert_colors end |
#target_dpi ⇒ Integer?
Returns the value of attribute target_dpi.
1164 1165 1166 |
# File 'sig/types.rbs', line 1164 def target_dpi @target_dpi end |
Class Method Details
.default ⇒ ImagePreprocessingConfig
1173 |
# File 'sig/types.rbs', line 1173
def self.default: () -> ImagePreprocessingConfig
|