Class: Xberg::TesseractConfig
- Inherits:
-
Object
- Object
- Xberg::TesseractConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#classify_use_pre_adapted_templates ⇒ Boolean
readonly
Returns the value of attribute classify_use_pre_adapted_templates.
-
#enable_table_detection ⇒ Boolean
readonly
Returns the value of attribute enable_table_detection.
-
#language ⇒ Array[String]
readonly
Returns the value of attribute language.
-
#language_model_ngram_on ⇒ Boolean
readonly
Returns the value of attribute language_model_ngram_on.
-
#min_confidence ⇒ Float
readonly
Returns the value of attribute min_confidence.
-
#oem ⇒ Integer
readonly
Returns the value of attribute oem.
-
#output_format ⇒ String
readonly
Returns the value of attribute output_format.
-
#preprocessing ⇒ ImagePreprocessingConfig?
readonly
Returns the value of attribute preprocessing.
-
#psm ⇒ Integer?
readonly
Returns the value of attribute psm.
-
#table_column_threshold ⇒ Integer
readonly
Returns the value of attribute table_column_threshold.
-
#table_min_confidence ⇒ Float
readonly
Returns the value of attribute table_min_confidence.
-
#table_row_threshold_ratio ⇒ Float
readonly
Returns the value of attribute table_row_threshold_ratio.
-
#tessedit_char_blacklist ⇒ String
readonly
Returns the value of attribute tessedit_char_blacklist.
-
#tessedit_char_whitelist ⇒ String
readonly
Returns the value of attribute tessedit_char_whitelist.
-
#tessedit_dont_blkrej_good_wds ⇒ Boolean
readonly
Returns the value of attribute tessedit_dont_blkrej_good_wds.
-
#tessedit_dont_rowrej_good_wds ⇒ Boolean
readonly
Returns the value of attribute tessedit_dont_rowrej_good_wds.
-
#tessedit_enable_dict_correction ⇒ Boolean
readonly
Returns the value of attribute tessedit_enable_dict_correction.
-
#tessedit_use_primary_params_model ⇒ Boolean
readonly
Returns the value of attribute tessedit_use_primary_params_model.
-
#textord_space_size_is_variable ⇒ Boolean
readonly
Returns the value of attribute textord_space_size_is_variable.
-
#thresholding_method ⇒ Boolean
readonly
Returns the value of attribute thresholding_method.
-
#use_cache ⇒ Boolean
readonly
Returns the value of attribute use_cache.
Instance Method Summary collapse
-
#initialize ⇒ TesseractConfig
constructor
A new instance of TesseractConfig.
Constructor Details
#initialize ⇒ TesseractConfig
Returns a new instance of TesseractConfig.
2539 |
# File 'sig/types.rbs', line 2539
def initialize: (?language: Array[String], ?psm: Integer, ?output_format: String, ?oem: Integer, ?min_confidence: Float, ?preprocessing: ImagePreprocessingConfig, ?enable_table_detection: bool, ?table_min_confidence: Float, ?table_column_threshold: Integer, ?table_row_threshold_ratio: Float, ?use_cache: bool, ?classify_use_pre_adapted_templates: bool, ?language_model_ngram_on: bool, ?tessedit_dont_blkrej_good_wds: bool, ?tessedit_dont_rowrej_good_wds: bool, ?tessedit_enable_dict_correction: bool, ?tessedit_char_whitelist: String, ?tessedit_char_blacklist: String, ?tessedit_use_primary_params_model: bool, ?textord_space_size_is_variable: bool, ?thresholding_method: bool) -> void
|
Instance Attribute Details
#classify_use_pre_adapted_templates ⇒ Boolean (readonly)
Returns the value of attribute classify_use_pre_adapted_templates.
2528 2529 2530 |
# File 'sig/types.rbs', line 2528 def classify_use_pre_adapted_templates @classify_use_pre_adapted_templates end |
#enable_table_detection ⇒ Boolean (readonly)
Returns the value of attribute enable_table_detection.
2523 2524 2525 |
# File 'sig/types.rbs', line 2523 def enable_table_detection @enable_table_detection end |
#language ⇒ Array[String] (readonly)
Returns the value of attribute language.
2517 2518 2519 |
# File 'sig/types.rbs', line 2517 def language @language end |
#language_model_ngram_on ⇒ Boolean (readonly)
Returns the value of attribute language_model_ngram_on.
2529 2530 2531 |
# File 'sig/types.rbs', line 2529 def language_model_ngram_on @language_model_ngram_on end |
#min_confidence ⇒ Float (readonly)
Returns the value of attribute min_confidence.
2521 2522 2523 |
# File 'sig/types.rbs', line 2521 def min_confidence @min_confidence end |
#oem ⇒ Integer (readonly)
Returns the value of attribute oem.
2520 2521 2522 |
# File 'sig/types.rbs', line 2520 def oem @oem end |
#output_format ⇒ String (readonly)
Returns the value of attribute output_format.
2519 2520 2521 |
# File 'sig/types.rbs', line 2519 def output_format @output_format end |
#preprocessing ⇒ ImagePreprocessingConfig? (readonly)
Returns the value of attribute preprocessing.
2522 2523 2524 |
# File 'sig/types.rbs', line 2522 def preprocessing @preprocessing end |
#psm ⇒ Integer? (readonly)
Returns the value of attribute psm.
2518 2519 2520 |
# File 'sig/types.rbs', line 2518 def psm @psm end |
#table_column_threshold ⇒ Integer (readonly)
Returns the value of attribute table_column_threshold.
2525 2526 2527 |
# File 'sig/types.rbs', line 2525 def table_column_threshold @table_column_threshold end |
#table_min_confidence ⇒ Float (readonly)
Returns the value of attribute table_min_confidence.
2524 2525 2526 |
# File 'sig/types.rbs', line 2524 def table_min_confidence @table_min_confidence end |
#table_row_threshold_ratio ⇒ Float (readonly)
Returns the value of attribute table_row_threshold_ratio.
2526 2527 2528 |
# File 'sig/types.rbs', line 2526 def table_row_threshold_ratio @table_row_threshold_ratio end |
#tessedit_char_blacklist ⇒ String (readonly)
Returns the value of attribute tessedit_char_blacklist.
2534 2535 2536 |
# File 'sig/types.rbs', line 2534 def tessedit_char_blacklist @tessedit_char_blacklist end |
#tessedit_char_whitelist ⇒ String (readonly)
Returns the value of attribute tessedit_char_whitelist.
2533 2534 2535 |
# File 'sig/types.rbs', line 2533 def tessedit_char_whitelist @tessedit_char_whitelist end |
#tessedit_dont_blkrej_good_wds ⇒ Boolean (readonly)
Returns the value of attribute tessedit_dont_blkrej_good_wds.
2530 2531 2532 |
# File 'sig/types.rbs', line 2530 def tessedit_dont_blkrej_good_wds @tessedit_dont_blkrej_good_wds end |
#tessedit_dont_rowrej_good_wds ⇒ Boolean (readonly)
Returns the value of attribute tessedit_dont_rowrej_good_wds.
2531 2532 2533 |
# File 'sig/types.rbs', line 2531 def tessedit_dont_rowrej_good_wds @tessedit_dont_rowrej_good_wds end |
#tessedit_enable_dict_correction ⇒ Boolean (readonly)
Returns the value of attribute tessedit_enable_dict_correction.
2532 2533 2534 |
# File 'sig/types.rbs', line 2532 def tessedit_enable_dict_correction @tessedit_enable_dict_correction end |
#tessedit_use_primary_params_model ⇒ Boolean (readonly)
Returns the value of attribute tessedit_use_primary_params_model.
2535 2536 2537 |
# File 'sig/types.rbs', line 2535 def tessedit_use_primary_params_model @tessedit_use_primary_params_model end |
#textord_space_size_is_variable ⇒ Boolean (readonly)
Returns the value of attribute textord_space_size_is_variable.
2536 2537 2538 |
# File 'sig/types.rbs', line 2536 def textord_space_size_is_variable @textord_space_size_is_variable end |
#thresholding_method ⇒ Boolean (readonly)
Returns the value of attribute thresholding_method.
2537 2538 2539 |
# File 'sig/types.rbs', line 2537 def thresholding_method @thresholding_method end |
#use_cache ⇒ Boolean (readonly)
Returns the value of attribute use_cache.
2527 2528 2529 |
# File 'sig/types.rbs', line 2527 def use_cache @use_cache end |