read_ocr_class_knnT_read_ocr_class_knnReadOcrClassKnnReadOcrClassKnn (Operator)
Name
read_ocr_class_knnT_read_ocr_class_knnReadOcrClassKnnReadOcrClassKnn
— Read an OCR classifier from a file.
Signature
Description
read_ocr_class_knnread_ocr_class_knnReadOcrClassKnnReadOcrClassKnnReadOcrClassKnn
reads an OCR classifier that has been
stored with write_ocr_class_knnwrite_ocr_class_knnWriteOcrClassKnnWriteOcrClassKnnWriteOcrClassKnn
.
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
FileNameFileNameFileNameFileNamefileName
(input_control) filename.read →
HTupleHTupleHtuple (string) (string) (HString) (char*)
File name.
File extension: .onc
, .okc
, .fnt
OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle
(output_control) ocr_knn →
HOCRKnn, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the OCR classifier.
Result
If the parameters are valid, the operator read_ocr_class_knnread_ocr_class_knnReadOcrClassKnnReadOcrClassKnnReadOcrClassKnn
returns the value 2 (H_MSG_TRUE). If necessary, an exception is
raised.
Possible Successors
classify_class_knnclassify_class_knnClassifyClassKnnClassifyClassKnnClassifyClassKnn
See also
create_ocr_class_knncreate_ocr_class_knnCreateOcrClassKnnCreateOcrClassKnnCreateOcrClassKnn
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