HALCON Reference Manual 10.0.2
Table of Contents / OCR / Segmentation ClassesClassesClasses | | | Operators

get_text_model_paramget_text_model_paramget_text_model_paramGetTextModelParamGetTextModelParam (Operator)

Name

get_text_model_paramget_text_model_paramget_text_model_paramGetTextModelParamGetTextModelParam — Query parameters of a text model.

Signature

get_text_model_param( : : TextModel, Param : Value)

Herror get_text_model_param(const Hlong TextModel, const char* Param, Hlong* Value)

Herror T_get_text_model_param(const Htuple TextModel, const Htuple Param, Htuple* Value)

Herror get_text_model_param(const HTuple& TextModel, const HTuple& Param, Hlong* Value)

Herror get_text_model_param(const HTuple& TextModel, const HTuple& Param, HTuple* Value)

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

void HOperatorSetX.GetTextModelParam(
[in] VARIANT TextModel, [in] VARIANT Param, [out] VARIANT* Value)

VARIANT HTextModelX.GetTextModelParam([in] BSTR Param)

static void HOperatorSet.GetTextModelParam(HTuple textModel, HTuple param, out HTuple value)

HTuple HTextModel.GetTextModelParam(string param)

Description

get_text_model_paramget_text_model_paramget_text_model_paramGetTextModelParamGetTextModelParam queries parameters of TextModelTextModelTextModelTextModeltextModel. All parameters described in the documentation of set_text_model_paramset_text_model_paramset_text_model_paramSetTextModelParamSetTextModelParam can be queried.

Parallelization

Parameters

TextModelTextModelTextModelTextModeltextModel (input_control)  text_model HTextModel, HTupleHTextModel, HTupleHTextModelX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong)

Text model.

ParamParamParamParamparam (input_control)  string HTupleHTupleVARIANTHtuple (string) (string) (char*) (BSTR) (char*)

Parameters to be queried.

Default value: 'char_width' "char_width" "char_width" "char_width" "char_width"

List of values: '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_width'"char_width""char_width""char_width""char_width", 'is_dotprint'"is_dotprint""is_dotprint""is_dotprint""is_dotprint", 'is_imprinted'"is_imprinted""is_imprinted""is_imprinted""is_imprinted", 'max_line_num'"max_line_num""max_line_num""max_line_num""max_line_num", 'polarity'"polarity""polarity""polarity""polarity", 'return_interpunctations'"return_interpunctations""return_interpunctations""return_interpunctations""return_interpunctations", 'return_separators'"return_separators""return_separators""return_separators""return_separators", 'stroke_width'"stroke_width""stroke_width""stroke_width""stroke_width", '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_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", 'uppercase_only'"uppercase_only""uppercase_only""uppercase_only""uppercase_only"

ValueValueValueValuevalue (output_control)  string(-array) HTupleHTupleVARIANTHtuple (integer / real / string) (int / long / double / string) (Hlong / double / char*) (Hlong / double / BSTR) (Hlong / double / char*)

Values of Param.

Result

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

See also

set_text_model_paramset_text_model_paramset_text_model_paramSetTextModelParamSetTextModelParam

Module

Foundation


Table of Contents / OCR / Segmentation ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH