serialize_ocr_class_knnπ
Short descriptionπ
serialize_ocr_class_knn β Serialize a k-NN-based OCR classifier.
Signatureπ
serialize_ocr_class_knn( ocr_knn OCRHandle, out serialized_item SerializedItemHandle )
Descriptionπ
serialize_ocr_class_knn serializes a k-NN-based OCR classifier (see
fwrite_serialized_item for an introduction of the basic
principle of serialization). The same data that is written in a
file by write_ocr_class_knn is converted to a serialized item.
The OCR classifier is defined by the handle OCRHandle. The
serialized OCR classifier is returned by the handle
SerializedItemHandle and can be deserialized by
deserialize_ocr_class_knn.
Execution informationπ
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parametersπ
OCRHandle (input_control) ocr_knn β (handle)
Handle of the OCR classifier.
SerializedItemHandle (output_control) serialized_item β (handle)
Handle of the serialized item.
Resultπ
If the parameters are valid, the operator
serialize_ocr_class_knn returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
Combinations with other operatorsπ
Combinations
Possible predecessors
trainf_ocr_class_knn, read_ocr_class_knn
Possible successors
fwrite_serialized_item, send_serialized_item, deserialize_ocr_class_knn
See also
create_class_knn, read_ocr_class_knn, deserialize_ocr_class_knn
Referencesπ
Marius Muja, David G. Lowe: ``Fast Approximate Nearest Neighbors with Automatic Algorithm Configurationββ; International Conference on Computer Vision Theory and Applications (VISAPP 09); 2009.
Moduleπ
OCR/OCV