ClassesClassesClassesClasses | | | | Operators

get_text_model_paramget_text_model_paramGetTextModelParamget_text_model_paramGetTextModelParamGetTextModelParam (Operator)

Name

get_text_model_paramget_text_model_paramGetTextModelParamget_text_model_paramGetTextModelParamGetTextModelParam — Query parameters of a text model.

Signature

get_text_model_param( : : TextModel, GenParamName : GenParamValue)

Herror get_text_model_param(const Hlong TextModel, const char* GenParamName, Hlong* GenParamValue)

Herror T_get_text_model_param(const Htuple TextModel, const Htuple GenParamName, Htuple* GenParamValue)

Herror get_text_model_param(const HTuple& TextModel, const HTuple& GenParamName, Hlong* GenParamValue)

Herror get_text_model_param(const HTuple& TextModel, const HTuple& GenParamName, HTuple* GenParamValue)

HTuple HTextModel::GetTextModelParam(const HTuple& GenParamName) const

void GetTextModelParam(const HTuple& TextModel, const HTuple& GenParamName, HTuple* GenParamValue)

HTuple HTextModel::GetTextModelParam(const HString& GenParamName) const

HTuple HTextModel::GetTextModelParam(const char* GenParamName) const

void HOperatorSetX.GetTextModelParam(
[in] VARIANT TextModel, [in] VARIANT GenParamName, [out] VARIANT* GenParamValue)

VARIANT HTextModelX.GetTextModelParam([in] BSTR GenParamName)

static void HOperatorSet.GetTextModelParam(HTuple textModel, HTuple genParamName, out HTuple genParamValue)

HTuple HTextModel.GetTextModelParam(string genParamName)

Description

get_text_model_paramget_text_model_paramGetTextModelParamget_text_model_paramGetTextModelParamGetTextModelParam queries the parameters of TextModelTextModelTextModelTextModelTextModeltextModel. With the exception of 'mlp_classifier'"mlp_classifier""mlp_classifier""mlp_classifier""mlp_classifier""mlp_classifier", all valid parameters can be queried. See set_text_model_paramset_text_model_paramSetTextModelParamset_text_model_paramSetTextModelParamSetTextModelParam for a detailed description of the possible values for GenParamNameGenParamNameGenParamNameGenParamNameGenParamNamegenParamName and GenParamValueGenParamValueGenParamValueGenParamValueGenParamValuegenParamValue.

Parallelization

Parameters

TextModelTextModelTextModelTextModelTextModeltextModel (input_control)  text_model HTextModel, HTupleHTupleHTextModel, HTupleHTextModelX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Text model.

GenParamNameGenParamNameGenParamNameGenParamNameGenParamNamegenParamName (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Parameters to be queried.

Default value: 'min_contrast' "min_contrast" "min_contrast" "min_contrast" "min_contrast" "min_contrast"

List of values: 'add_fragments'"add_fragments""add_fragments""add_fragments""add_fragments""add_fragments", 'base_line_tolerance'"base_line_tolerance""base_line_tolerance""base_line_tolerance""base_line_tolerance""base_line_tolerance", 'char_height'"char_height""char_height""char_height""char_height""char_height", 'char_width'"char_width""char_width""char_width""char_width""char_width", 'eliminate_border_blobs'"eliminate_border_blobs""eliminate_border_blobs""eliminate_border_blobs""eliminate_border_blobs""eliminate_border_blobs", 'eliminate_horizontal_lines'"eliminate_horizontal_lines""eliminate_horizontal_lines""eliminate_horizontal_lines""eliminate_horizontal_lines""eliminate_horizontal_lines", 'fragment_size_min'"fragment_size_min""fragment_size_min""fragment_size_min""fragment_size_min""fragment_size_min", 'is_dotprint'"is_dotprint""is_dotprint""is_dotprint""is_dotprint""is_dotprint", 'is_imprinted'"is_imprinted""is_imprinted""is_imprinted""is_imprinted""is_imprinted", 'max_char_height'"max_char_height""max_char_height""max_char_height""max_char_height""max_char_height", 'max_char_width'"max_char_width""max_char_width""max_char_width""max_char_width""max_char_width", 'max_line_num'"max_line_num""max_line_num""max_line_num""max_line_num""max_line_num", 'max_stroke_width'"max_stroke_width""max_stroke_width""max_stroke_width""max_stroke_width""max_stroke_width", 'min_char_height'"min_char_height""min_char_height""min_char_height""min_char_height""min_char_height", 'min_char_width'"min_char_width""min_char_width""min_char_width""min_char_width""min_char_width", 'min_contrast'"min_contrast""min_contrast""min_contrast""min_contrast""min_contrast", 'min_stroke_width'"min_stroke_width""min_stroke_width""min_stroke_width""min_stroke_width""min_stroke_width", 'persistence'"persistence""persistence""persistence""persistence""persistence", 'polarity'"polarity""polarity""polarity""polarity""polarity", 'return_punctuation'"return_punctuation""return_punctuation""return_punctuation""return_punctuation""return_punctuation", 'return_separators'"return_separators""return_separators""return_separators""return_separators""return_separators", 'return_whole_line'"return_whole_line""return_whole_line""return_whole_line""return_whole_line""return_whole_line", 'stroke_width'"stroke_width""stroke_width""stroke_width""stroke_width""stroke_width", 'text_line_separators'"text_line_separators""text_line_separators""text_line_separators""text_line_separators""text_line_separators", 'text_line_structure'"text_line_structure""text_line_structure""text_line_structure""text_line_structure""text_line_structure", 'text_line_structure_0'"text_line_structure_0""text_line_structure_0""text_line_structure_0""text_line_structure_0""text_line_structure_0", 'text_line_structure_1'"text_line_structure_1""text_line_structure_1""text_line_structure_1""text_line_structure_1""text_line_structure_1", 'text_line_structure_2'"text_line_structure_2""text_line_structure_2""text_line_structure_2""text_line_structure_2""text_line_structure_2", 'uppercase_only'"uppercase_only""uppercase_only""uppercase_only""uppercase_only""uppercase_only"

GenParamValueGenParamValueGenParamValueGenParamValueGenParamValuegenParamValue (output_control)  string(-array) HTupleHTupleHTupleVARIANTHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*) (Hlong / double / BSTR) (Hlong / double / char*)

Values of Parameters.

Result

If the input parameters are set correctly, the operator get_text_model_paramget_text_model_paramGetTextModelParamget_text_model_paramGetTextModelParamGetTextModelParam returns the value 2 (H_MSG_TRUE). Otherwise, an exception will be raised.

See also

set_text_model_paramset_text_model_paramSetTextModelParamset_text_model_paramSetTextModelParamSetTextModelParam

Module

OCR/OCV


ClassesClassesClassesClasses | | | | Operators