Name
serialize_ocr_class_knnserialize_ocr_class_knnSerializeOcrClassKnnSerializeOcrClassKnn — Serialize a k-NN-based OCR classifier.
serialize_ocr_class_knnserialize_ocr_class_knnSerializeOcrClassKnnSerializeOcrClassKnnSerializeOcrClassKnn serializes a k-NN-based OCR classifier (see
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem for an introduction of the basic
principle of serialization). The same data that is written in a
file by write_ocr_class_knnwrite_ocr_class_knnWriteOcrClassKnnWriteOcrClassKnnWriteOcrClassKnn is converted to a serialized item.
The OCR classifier is defined by the handle OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle. The
serialized OCR classifier is returned by the handle
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by
deserialize_ocr_class_knndeserialize_ocr_class_knnDeserializeOcrClassKnnDeserializeOcrClassKnnDeserializeOcrClassKnn.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Handle of the OCR classifier.
Handle of the serialized item.
If the parameters are valid, the operator
serialize_ocr_class_knnserialize_ocr_class_knnSerializeOcrClassKnnSerializeOcrClassKnnSerializeOcrClassKnn returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
trainf_ocr_class_knntrainf_ocr_class_knnTrainfOcrClassKnnTrainfOcrClassKnnTrainfOcrClassKnn,
read_ocr_class_knnread_ocr_class_knnReadOcrClassKnnReadOcrClassKnnReadOcrClassKnn
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem,
deserialize_ocr_class_knndeserialize_ocr_class_knnDeserializeOcrClassKnnDeserializeOcrClassKnnDeserializeOcrClassKnn
create_class_knncreate_class_knnCreateClassKnnCreateClassKnnCreateClassKnn,
read_ocr_class_knnread_ocr_class_knnReadOcrClassKnnReadOcrClassKnnReadOcrClassKnn,
deserialize_ocr_class_knndeserialize_ocr_class_knnDeserializeOcrClassKnnDeserializeOcrClassKnnDeserializeOcrClassKnn
Marius Muja, David G. Lowe: “Fast Approximate Nearest Neighbors with
Automatic Algorithm Configuration”;
International Conference on Computer Vision Theory
and Applications (VISAPP 09); 2009.
OCR/OCV