do_ocr_b ( Character, Image : : NetId : Class, Confidence )

Classification of characters.

The operator do_ocr_b assigns a class to every Character (character). Hereby all grayvalues from the surrounding rectangles of the regions will be used. The grayvalues will be taken from the parameter Image. For each character the corresponding class will be returned in Class and a confidence value will be returned in Confidence. The confidence value indicates the difference in stimulation of the network with regard to the second best character.


Parameters

Character (input_object)
region(-array) -> object
Characters to be recognized.

Image (input_object)
image -> object
Grayvalues for the characters.

NetId (input_control)
integer -> integer
ID of the OCR-network.
Default value: 'integer'

Class (output_control)
string(-array) -> string
Class (name) of the characters.
Number of elements: Class == Character

Confidence (output_control)
real(-array) -> real
Confidence values of the characters.
Number of elements: Confidence == Character


Result

If the input parameters are set correctly, the operator do_ocr_b returns the value TRUE. Otherwise an exception will be raised.


Possible Predecessors

traind_ocr_net, trainf_ocr_net, read_ocr_net, connection, sort_region


Alternatives

do_ocr_m


See also

write_ocr_net



Copyright © 1996-1997 MVTec Software GmbH