create_text_modelT_create_text_modelCreateTextModelCreateTextModelcreate_text_model (Operator)
Name
create_text_modelT_create_text_modelCreateTextModelCreateTextModelcreate_text_model
— Create a text model.
Warning
create_text_modelcreate_text_modelCreateTextModelCreateTextModelCreateTextModelcreate_text_model
is obsolete and is only provided for reasons
of backward compatibility. New applications should use
create_text_model_readercreate_text_model_readerCreateTextModelReaderCreateTextModelReaderCreateTextModelReadercreate_text_model_reader
instead.
Signature
Herror T_create_text_model(Htuple* TextModel)
def create_text_model() -> HHandle
Description
create_text_modelcreate_text_modelCreateTextModelCreateTextModelCreateTextModelcreate_text_model
creates a new TextModelTextModelTextModelTextModeltextModeltext_model
which
describes the text to be segmented by find_textfind_textFindTextFindTextFindTextfind_text
.
Set and query Parameters of TextModelTextModelTextModelTextModeltextModeltext_model
via
set_text_model_paramset_text_model_paramSetTextModelParamSetTextModelParamSetTextModelParamset_text_model_param
and get_text_model_paramget_text_model_paramGetTextModelParamGetTextModelParamGetTextModelParamget_text_model_param
.
Calls of create_text_modelcreate_text_modelCreateTextModelCreateTextModelCreateTextModelcreate_text_model
are equivalent to (and should be
replaced by) calls of create_text_model_readercreate_text_model_readerCreateTextModelReaderCreateTextModelReaderCreateTextModelReadercreate_text_model_reader
with ModeModeModeModemodemode
set to 'manual'"manual""manual""manual""manual""manual".
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
Parameters
TextModelTextModelTextModelTextModeltextModeltext_model
(output_control) text_model →
HTextModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
New text model.
Result
create_text_modelcreate_text_modelCreateTextModelCreateTextModelCreateTextModelcreate_text_model
returns the value TRUE.
Module
OCR/OCV