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

Return the parameters of an OCR classifier.

get_params_ocr_class_mlp returns the parameters of an OCR classifier that were specified when the classifier was created with create_ocr_class_mlp. This is particularly useful if the classifier was read with read_ocr_class_mlp. The output of get_params_ocr_class_mlp 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_mlp.


Parameters

OCRHandle (input_control)
ocr_mlp -> integer
Handle of the OCR classifier.

WidthCharacter (output_control)
integer -> integer
Width of the rectangle to which the gray values of the segmented character are zoomed.

HeightCharacter (output_control)
integer -> integer
Height of the rectangle to which the gray values of the segmented character are zoomed.

Interpolation (output_control)
string -> string
Interpolation mode for the zooming of the characters.

Features (output_control)
string(-array) -> string
Features to be used for classification.

Characters (output_control)
string-array -> string
Characters of the character set to be read.

NumHidden (output_control)
integer -> integer
Number of hidden units of the MLP.

Preprocessing (output_control)
string -> string
Type of preprocessing used to transform the feature vectors.

NumComponents (output_control)
integer -> integer
Preprocessing parameter: Number of transformed features.


Result

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


Parallelization Information

get_params_ocr_class_mlp is reentrant and processed without parallelization.


Possible Predecessors

create_ocr_class_mlp, read_ocr_class_mlp


Possible Successors

do_ocr_single_class_mlp, do_ocr_multi_class_mlp


See also

trainf_ocr_class_mlp, get_params_class_mlp


Module

OCR/OCV



Copyright © 1996-2008 MVTec Software GmbH