`create_ocr_class_mlp`是Halcon图像处理库中的一个算子,用于创建一个用于OCR(光学字符识别)的多层感知器(MLP)分类器。这个算子主要用于训练模型,以便后续可以对图像中的字符进行分类和识别。 以下是`create_ocr_class_mlp`算子的参数: 1. TrainingImages:这是一个图像容器,包含了用于训练MLP分类器的训练图像。每个...
create_ocr_class_mlp(Operator) Name create_ocr_class_mlp— Create an OCR classifier using a multilayer perceptron. Description create_ocr_class_mlpcreates an OCR classifier that uses a multilayer perceptron (MLP). The handle of the OCR classifier is returned inOCRHandle. ...
In particular, OCR applications sometimes have this requirement (see create_ocr_class_mlp). A comparison of the MLP and the support vector machine (SVM) (see create_class_svm) typically shows that SVMs are generally faster at training, especially for huge training sets, and achieve slightly ...
在此之后,可以使用write_ocr_class_svm保存分类器。或者,可以在训练之后立即使用分类器来使用do_ocr_single_class_svm或do_ocr_multi_class_svm对字符进行分类。 SVM和多层感知器(MLP)的比较(参见create_ocr_class_mlp)通常表明SVM通常在训练时更快,特别是对于大型训练集,并且实现比MLP略高的识别率。 MLP在分类...
- `OCRClassifier`:必须在OCR分类器中加载OCR分类器。该分类器必须基于卷积神经网络(CNN)或多层感知器(MLP)。强烈建议使用带有拒绝类的基于CNN的OCR分类器,或使用经过正则化参数训练的基于MLP的分类器。可以使用`read_ocr_class_cnn`或`read_ocr_class_mlp`读取合适的OCR分类器,或使用`create_ocr_class_mlp`创建...
parameters (seeset_regularization_params_ocr_class_mlp). A suitable OCR classifier can either be created withcreate_ocr_class_mlpor read withread_ocr_class_mlp. It is also possible to pass a string containing the path to an OCR classifier that has been stored withwrite_ocr_class_mlp. ...
(seeset_rejection_params_ocr_class_mlp). A suitable OCR classifier can either be read withread_ocr_class_cnnorread_ocr_class_mlp, or be created withcreate_ocr_class_mlp. It is also possible to pass a string containing the path to a pretrained OCR classifier or an OCR classifier that ...
(seeset_rejection_params_ocr_class_mlp). A suitable OCR classifier can either be read withread_ocr_class_cnnorread_ocr_class_mlp, or be created withcreate_ocr_class_mlp. It is also possible to pass a string containing the path to a pretrained OCR classifier or an OCR classifier that ...
(seeset_rejection_params_ocr_class_mlp). A suitable OCR classifier can either be read withread_ocr_class_cnnorread_ocr_class_mlp, or be created withcreate_ocr_class_mlp. It is also possible to pass a string containing the path to a pretrained OCR classifier or an OCR classifier that ...
A suitable OCR classifier can either be read with read_ocr_class_cnn or read_ocr_class_mlp, or be created with create_ocr_class_mlp. It is also possible to pass a string containing the path to a pretrained OCR classifier or an OCR classifier that has been stored with write_ocr_class_...