info_ocr_class_box ( : : OcrHandle : WidthPattern, HeightPattern, Interpolation, WidthMaxChar, HeightMaxChar, Features, Characters )

Get information about an OCR classifier.

The operator info_ocr_class_box returns some information about an OCR classifier. The parameters are equivalent to those of create_ocr_class_box. The parameters WidthMaxChar and HeightMaxChar indicate the extension of the largest trained character. These values can be used to control the segmentation.


Parameters

OcrHandle (input_control)
ocr -> integer
ID of the OCR classifier.

WidthPattern (output_control)
integer -> integer
Width of the scaled characters.

HeightPattern (output_control)
integer -> integer
Height of the scaled characters.

Interpolation (output_control)
integer -> integer
Interpolation mode for scaling the characters.

WidthMaxChar (output_control)
integer -> integer
Width of the largest trained character.

HeightMaxChar (output_control)
integer -> integer
Height of the largest trained character.

Features (output_control)
string-array -> string
Used features.

Characters (output_control)
string-array -> string
All characters of the set.


Result

The operator info_ocr_class_box always returns 2 (H_MSG_TRUE).


Parallelization Information

info_ocr_class_box is reentrant and processed without parallelization.


Possible Predecessors

read_ocr, create_ocr_class_box


Possible Successors

write_ocr


Module

OCR/OCV



Copyright © 1996-2008 MVTec Software GmbH