ClassesClasses | | Operators

get_params_ocr_class_mlpT_get_params_ocr_class_mlpGetParamsOcrClassMlpGetParamsOcrClassMlp (Operator)

Name

get_params_ocr_class_mlpT_get_params_ocr_class_mlpGetParamsOcrClassMlpGetParamsOcrClassMlp — Return the parameters of an OCR classifier.

Signature

get_params_ocr_class_mlp( : : OCRHandle : WidthCharacter, HeightCharacter, Interpolation, Features, Characters, NumHidden, Preprocessing, NumComponents)

Herror T_get_params_ocr_class_mlp(const Htuple OCRHandle, Htuple* WidthCharacter, Htuple* HeightCharacter, Htuple* Interpolation, Htuple* Features, Htuple* Characters, Htuple* NumHidden, Htuple* Preprocessing, Htuple* NumComponents)

void GetParamsOcrClassMlp(const HTuple& OCRHandle, HTuple* WidthCharacter, HTuple* HeightCharacter, HTuple* Interpolation, HTuple* Features, HTuple* Characters, HTuple* NumHidden, HTuple* Preprocessing, HTuple* NumComponents)

void HOCRMlp::GetParamsOcrClassMlp(Hlong* WidthCharacter, Hlong* HeightCharacter, HString* Interpolation, HTuple* Features, HTuple* Characters, Hlong* NumHidden, HString* Preprocessing, Hlong* NumComponents) const

void HOCRMlp::GetParamsOcrClassMlp(Hlong* WidthCharacter, Hlong* HeightCharacter, HString* Interpolation, HString* Features, HTuple* Characters, Hlong* NumHidden, HString* Preprocessing, Hlong* NumComponents) const

static void HOperatorSet.GetParamsOcrClassMlp(HTuple OCRHandle, out HTuple widthCharacter, out HTuple heightCharacter, out HTuple interpolation, out HTuple features, out HTuple characters, out HTuple numHidden, out HTuple preprocessing, out HTuple numComponents)

void HOCRMlp.GetParamsOcrClassMlp(out int widthCharacter, out int heightCharacter, out string interpolation, out HTuple features, out HTuple characters, out int numHidden, out string preprocessing, out int numComponents)

void HOCRMlp.GetParamsOcrClassMlp(out int widthCharacter, out int heightCharacter, out string interpolation, out string features, out HTuple characters, out int numHidden, out string preprocessing, out int numComponents)

Description

get_params_ocr_class_mlpget_params_ocr_class_mlpGetParamsOcrClassMlpGetParamsOcrClassMlpGetParamsOcrClassMlp returns the parameters of an OCR classifier that were specified when the classifier was created with create_ocr_class_mlpcreate_ocr_class_mlpCreateOcrClassMlpCreateOcrClassMlpCreateOcrClassMlp. This is particularly useful if the classifier was read with read_ocr_class_mlpread_ocr_class_mlpReadOcrClassMlpReadOcrClassMlpReadOcrClassMlp. The output of get_params_ocr_class_mlpget_params_ocr_class_mlpGetParamsOcrClassMlpGetParamsOcrClassMlpGetParamsOcrClassMlp can, for example, be used to check whether a character to be read is contained in the classifier. For a description of the parameters, see create_ocr_class_mlpcreate_ocr_class_mlpCreateOcrClassMlpCreateOcrClassMlpCreateOcrClassMlp.

Execution Information

Parameters

OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle (input_control)  ocr_mlp HOCRMlp, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the OCR classifier.

WidthCharacterWidthCharacterWidthCharacterWidthCharacterwidthCharacter (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Width of the rectangle to which the gray values of the segmented character are zoomed.

HeightCharacterHeightCharacterHeightCharacterHeightCharacterheightCharacter (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Height of the rectangle to which the gray values of the segmented character are zoomed.

InterpolationInterpolationInterpolationInterpolationinterpolation (output_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Interpolation mode for the zooming of the characters.

FeaturesFeaturesFeaturesFeaturesfeatures (output_control)  string(-array) HTupleHTupleHtuple (string) (string) (HString) (char*)

Features to be used for classification.

CharactersCharactersCharactersCharacterscharacters (output_control)  string-array HTupleHTupleHtuple (string) (string) (HString) (char*)

Characters of the character set to be read.

NumHiddenNumHiddenNumHiddenNumHiddennumHidden (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Number of hidden units of the MLP.

PreprocessingPreprocessingPreprocessingPreprocessingpreprocessing (output_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Type of preprocessing used to transform the feature vectors.

NumComponentsNumComponentsNumComponentsNumComponentsnumComponents (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Preprocessing parameter: Number of transformed features.

Result

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

Possible Predecessors

create_ocr_class_mlpcreate_ocr_class_mlpCreateOcrClassMlpCreateOcrClassMlpCreateOcrClassMlp, read_ocr_class_mlpread_ocr_class_mlpReadOcrClassMlpReadOcrClassMlpReadOcrClassMlp

Possible Successors

do_ocr_single_class_mlpdo_ocr_single_class_mlpDoOcrSingleClassMlpDoOcrSingleClassMlpDoOcrSingleClassMlp, do_ocr_multi_class_mlpdo_ocr_multi_class_mlpDoOcrMultiClassMlpDoOcrMultiClassMlpDoOcrMultiClassMlp

See also

trainf_ocr_class_mlptrainf_ocr_class_mlpTrainfOcrClassMlpTrainfOcrClassMlpTrainfOcrClassMlp, get_params_class_mlpget_params_class_mlpGetParamsClassMlpGetParamsClassMlpGetParamsClassMlp

Module

OCR/OCV


ClassesClasses | | Operators