get_params_ocr_class_mlpT_get_params_ocr_class_mlpGetParamsOcrClassMlpGetParamsOcrClassMlpget_params_ocr_class_mlp (算子)

名称

get_params_ocr_class_mlpT_get_params_ocr_class_mlpGetParamsOcrClassMlpGetParamsOcrClassMlpget_params_ocr_class_mlp — 返回 OCR 分类器的参数。

签名

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)

def get_params_ocr_class_mlp(ocrhandle: HHandle) -> Tuple[int, int, str, Sequence[str], Sequence[str], int, str, int]

def get_params_ocr_class_mlp_s(ocrhandle: HHandle) -> Tuple[int, int, str, str, Sequence[str], int, str, int]

描述

get_params_ocr_class_mlpget_params_ocr_class_mlpGetParamsOcrClassMlpGetParamsOcrClassMlpGetParamsOcrClassMlpget_params_ocr_class_mlp returns the parameters of an OCR classifier that were specified when the classifier was created with create_ocr_class_mlpcreate_ocr_class_mlpCreateOcrClassMlpCreateOcrClassMlpCreateOcrClassMlpcreate_ocr_class_mlp。This is particularly useful if the classifier was read with read_ocr_class_mlpread_ocr_class_mlpReadOcrClassMlpReadOcrClassMlpReadOcrClassMlpread_ocr_class_mlp。The output of get_params_ocr_class_mlpget_params_ocr_class_mlpGetParamsOcrClassMlpGetParamsOcrClassMlpGetParamsOcrClassMlpget_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_mlpcreate_ocr_class_mlpCreateOcrClassMlpCreateOcrClassMlpCreateOcrClassMlpcreate_ocr_class_mlp

执行信息

参数

OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleocrhandle (输入控制)  ocr_mlp HOCRMlp, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the OCR classifier.

WidthCharacterWidthCharacterWidthCharacterWidthCharacterwidthCharacterwidth_character (输出控制)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

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

HeightCharacterHeightCharacterHeightCharacterHeightCharacterheightCharacterheight_character (输出控制)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

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

InterpolationInterpolationInterpolationInterpolationinterpolationinterpolation (输出控制)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Interpolation mode for the zooming of the characters.

FeaturesFeaturesFeaturesFeaturesfeaturesfeatures (输出控制)  string(-array) HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Features to be used for classification.

CharactersCharactersCharactersCharacterscharacterscharacters (输出控制)  string-array HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Characters of the character set to be read.

NumHiddenNumHiddenNumHiddenNumHiddennumHiddennum_hidden (输出控制)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Number of hidden units of the MLP.

PreprocessingPreprocessingPreprocessingPreprocessingpreprocessingpreprocessing (输出控制)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Type of preprocessing used to transform the feature vectors.

NumComponentsNumComponentsNumComponentsNumComponentsnumComponentsnum_components (输出控制)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Preprocessing parameter: Number of transformed features.

结果

如果参数有效,算子 get_params_ocr_class_mlpget_params_ocr_class_mlpGetParamsOcrClassMlpGetParamsOcrClassMlpGetParamsOcrClassMlpget_params_ocr_class_mlp 返回值 2 ( H_MSG_TRUE )。如有必要,则抛出异常。

可能的前趋

create_ocr_class_mlpcreate_ocr_class_mlpCreateOcrClassMlpCreateOcrClassMlpCreateOcrClassMlpcreate_ocr_class_mlp, read_ocr_class_mlpread_ocr_class_mlpReadOcrClassMlpReadOcrClassMlpReadOcrClassMlpread_ocr_class_mlp

可能的后继

do_ocr_single_class_mlpdo_ocr_single_class_mlpDoOcrSingleClassMlpDoOcrSingleClassMlpDoOcrSingleClassMlpdo_ocr_single_class_mlp, do_ocr_multi_class_mlpdo_ocr_multi_class_mlpDoOcrMultiClassMlpDoOcrMultiClassMlpDoOcrMultiClassMlpdo_ocr_multi_class_mlp

另见

trainf_ocr_class_mlptrainf_ocr_class_mlpTrainfOcrClassMlpTrainfOcrClassMlpTrainfOcrClassMlptrainf_ocr_class_mlp, get_params_class_mlpget_params_class_mlpGetParamsClassMlpGetParamsClassMlpGetParamsClassMlpget_params_class_mlp

模块

光学字符识别/光学字符验证