ClassesClasses | | Operators

read_ocr_class_knnread_ocr_class_knnReadOcrClassKnnReadOcrClassKnn (Operator)

Name

read_ocr_class_knnread_ocr_class_knnReadOcrClassKnnReadOcrClassKnn — Read an OCR classifier from a file.

Signature

read_ocr_class_knn( : : FileName : OCRHandle)

Herror read_ocr_class_knn(const char* FileName, Hlong* OCRHandle)

Herror T_read_ocr_class_knn(const Htuple FileName, Htuple* OCRHandle)

void ReadOcrClassKnn(const HTuple& FileName, HTuple* OCRHandle)

void HOCRKnn::HOCRKnn(const HString& FileName)

void HOCRKnn::HOCRKnn(const char* FileName)

void HOCRKnn::ReadOcrClassKnn(const HString& FileName)

void HOCRKnn::ReadOcrClassKnn(const char* FileName)

static void HOperatorSet.ReadOcrClassKnn(HTuple fileName, out HTuple OCRHandle)

public HOCRKnn(string fileName)

void HOCRKnn.ReadOcrClassKnn(string fileName)

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

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

OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle (output_control)  ocr_knn HOCRKnn, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

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


ClassesClasses | | Operators