Operators |
create_text_model — Create a text model.
create_text_model is obsolete and is only provided for reasons of backward compatibility. New applications should use create_text_model_reader instead.
create_text_model( : : : TextModel)
create_text_model creates a new TextModel which describes the text to be segmented by find_text. Set and query Parameters of TextModel via set_text_model_param and get_text_model_param.
Calls of create_text_model are equivalent to (and should be replaced by) calls of create_text_model_reader with Mode set to 'manual' .
Since memory is allocated for the text model during the call of create_text_model and during the following operations, the model should be freed explicitly by the operator clear_text_model as soon as it is no longer used.
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.
New text model.
create_text_model returns the value 2 (H_MSG_TRUE).
OCR/OCV
Operators |