Operator Reference

clear_text_modelT_clear_text_modelClearTextModelClearTextModelclear_text_model (Operator)

clear_text_modelT_clear_text_modelClearTextModelClearTextModelclear_text_model — Clear a text model.

Signature

clear_text_model( : : TextModel : )

Herror T_clear_text_model(const Htuple TextModel)

void ClearTextModel(const HTuple& TextModel)

static void HTextModel::ClearTextModel(const HTextModelArray& TextModel)

void HTextModel::ClearTextModel() const

static void HOperatorSet.ClearTextModel(HTuple textModel)

static void HTextModel.ClearTextModel(HTextModel[] textModel)

void HTextModel.ClearTextModel()

def clear_text_model(text_model: MaybeSequence[HHandle]) -> None

Description

clear_text_modelclear_text_modelClearTextModelClearTextModelclear_text_model clears the text model in TextModelTextModelTextModeltextModeltext_model and frees all underlying memory.

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 modifies the state of the following input parameter:

During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.

Parameters

TextModelTextModelTextModeltextModeltext_model (input_control, state is modified)  text_model(-array) HTextModel, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Text model to be cleared.

Result

clear_text_modelclear_text_modelClearTextModelClearTextModelclear_text_model returns the value 2 ( H_MSG_TRUE) .

See also

create_text_model_readercreate_text_model_readerCreateTextModelReaderCreateTextModelReadercreate_text_model_reader

Module

OCR/OCV