get_params_ocr_class_cnnT_get_params_ocr_class_cnnGetParamsOcrClassCnnGetParamsOcrClassCnn (Operator)

Name

get_params_ocr_class_cnnT_get_params_ocr_class_cnnGetParamsOcrClassCnnGetParamsOcrClassCnn — Return the parameters of a CNN-based OCR classifier.

Signature

get_params_ocr_class_cnn( : : OCRHandle, GenParamName : GenParamValue)

Herror T_get_params_ocr_class_cnn(const Htuple OCRHandle, const Htuple GenParamName, Htuple* GenParamValue)

void GetParamsOcrClassCnn(const HTuple& OCRHandle, const HTuple& GenParamName, HTuple* GenParamValue)

HTuple HOCRCnn::GetParamsOcrClassCnn(const HTuple& GenParamName) const

HTuple HOCRCnn::GetParamsOcrClassCnn(const HString& GenParamName) const

HTuple HOCRCnn::GetParamsOcrClassCnn(const char* GenParamName) const

HTuple HOCRCnn::GetParamsOcrClassCnn(const wchar_t* GenParamName) const   (Windows only)

static void HOperatorSet.GetParamsOcrClassCnn(HTuple OCRHandle, HTuple genParamName, out HTuple genParamValue)

HTuple HOCRCnn.GetParamsOcrClassCnn(HTuple genParamName)

HTuple HOCRCnn.GetParamsOcrClassCnn(string genParamName)

Description

get_params_ocr_class_cnnget_params_ocr_class_cnnGetParamsOcrClassCnnGetParamsOcrClassCnnGetParamsOcrClassCnn returns the parameters GenParamNameGenParamNameGenParamNameGenParamNamegenParamName of an OCR classifier OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle in GenParamValueGenParamValueGenParamValueGenParamValuegenParamValue. This is particularly useful if the classifier was read with read_ocr_class_cnnread_ocr_class_cnnReadOcrClassCnnReadOcrClassCnnReadOcrClassCnn. The output of get_params_ocr_class_cnnget_params_ocr_class_cnnGetParamsOcrClassCnnGetParamsOcrClassCnnGetParamsOcrClassCnn can, for example, be used to check whether a character to be read is contained in the classifier.

Possible values for GenParamNameGenParamNameGenParamNameGenParamNamegenParamName are:

'characters'"characters""characters""characters""characters":

Returns a list of all trained symbols which may be recognized by the CNN-based OCR classifier. Note that if 'characters' is specified then no other generic parameter is allowed. Otherwise an exception is thrown.

Execution Information

Parameters

OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle (input_control)  ocr_cnn HOCRCnn, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the OCR classifier.

GenParamNameGenParamNameGenParamNameGenParamNamegenParamName (input_control)  string(-array) HTupleHTupleHtuple (string) (string) (HString) (char*)

A tuple of generic parameter names.

Default value: 'characters' "characters" "characters" "characters" "characters"

List of values: 'characters'"characters""characters""characters""characters"

GenParamValueGenParamValueGenParamValueGenParamValuegenParamValue (output_control)  string(-array) HTupleHTupleHtuple (integer / string) (int / long / string) (Hlong / HString) (Hlong / char*)

A tuple of generic parameter values.

Result

If the parameters are valid, the operator get_params_ocr_class_cnnget_params_ocr_class_cnnGetParamsOcrClassCnnGetParamsOcrClassCnnGetParamsOcrClassCnn returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

read_ocr_class_cnnread_ocr_class_cnnReadOcrClassCnnReadOcrClassCnnReadOcrClassCnn

Possible Successors

do_ocr_single_class_cnndo_ocr_single_class_cnnDoOcrSingleClassCnnDoOcrSingleClassCnnDoOcrSingleClassCnn, do_ocr_multi_class_cnndo_ocr_multi_class_cnnDoOcrMultiClassCnnDoOcrMultiClassCnnDoOcrMultiClassCnn

Module

OCR/OCV