注意,对于更复杂的OCR分类器,尤其是训练数据包含非常嘈杂和变形的样本,则建议创建权重正则化的基于MLP的OCR分类器(参见set_regularization_params_ocr_class_mlp)。这增强了分类器的泛化能力并且防止对单个训练样本的过度拟合。 如果为自动文本阅读器创建了OCR分类器,建议另外使用set_rejection_params_ocr_class_mlp定义...
*3、定义:创建一个使用多层感知器(MLP)的OCR分类器,得到OCR分类器的句柄 *create_ocr_class_mlp(...
set or not. If a letter is different to the training set, then it can be classified a rejection class. This additional rejection class must be specified as an additional character increate_ocr_class_mlp. For details on how to specify a rejection class, seeset_rejection_params_class_mlp. ...
get_rejection_params_class_mlpreturns the rejection class parameters of a multilayer perceptron (MLP) that were specified withset_rejection_params_class_mlp. For a description of the parameters, seeset_rejection_params_class_mlp. Parallelization ...
在训练过程中会考虑OCR分类器的正规化和正规化参数的自动确定(参见set_regularization_params_ocr_class_mlp),如果使用set_rejection_params_ocr_class_mlp指定了拒绝类,则在实际训练之前生成拒绝类的样本 注意:在分类器OCRHandle中没有对应类的训练字符将被丢弃 ...
如果为自动文本阅读器创建了 OCR 分类器,建议额外定义一个带有 set_rejection_params_ocr_class_mlp 的拒绝类,这有助于区分字符和背景杂乱。 2.1 完整代码 * simple_training.hdev: train an OCR classifier (MLP) based on the training file created by gen_training_file.hdev ...
** ClassifyImageClassMlp( const Image: IHUntypedObjectX; out ClassRegions: IHUntypedObjectX; MLPHandle: OleVariant; RejectionThreshold: OleVariant); 说明: classify_image_class_mlp,根据多层视感控器分类图像 。 ** ClassifyImageClassSvm( const Image: IHUntypedObjectX; out ClassRegions: IHUntypedObjectX...
3637**AddSamplesImageClassKnn( Image: X; ClassRegions: X; KNNHandle);3839**AddSamplesImageClassMlp( Image: X; ClassRegions: X; MLPHandle);40说明, add_samples_image_class_mlp,将从图像中获取的测试样本添加到多层视感控器的测试数据库中。4142**AddSamplesImageClassSvm( Image: X; ClassRegions: X...
To provide an MLP with the ability for novelty detection, i.e., to reject feature vectors that do not belong to any class, an explicit rejection class can be created by setting NumOutput to the number of actual classes plus 1. Then, set_rejection_params_class_mlp can be used to ...
get_rejection_params_ocr_class_mlpreturns the rejection class parameters of an OCR classifier that were specified withset_rejection_params_ocr_class_mlp. For a description of the parameters, seeset_rejection_params_ocr_class_mlpandset_rejection_params_class_mlp. ...