ocr_change_character ( : : NetId, Character : )

Defining a new conversion table for the characters.

The operator ocr_change_character establishes a new look up table for the characters. Hereby the number of strings of Character must be the same as of the network NetId (see also info_ocr_net). In order to enlarge the font, the operator ocr_change_character may be used as follows: More characters than actually needed will be indicated when creating a network using (create_ocr_net). The last n characters will not be used so far. If more characters are needed at a later stage, these unused characters will be allocated and then trained with the help of the operator ocr_change_character.


Parameters

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

Character (input_control)
string-array -> string
New assign of characters.
Default value: '['a','b','c']'


Result

If the number of characters in Character is identical with the number of the characters of the network, the operator ocr_change_character returns the value TRUE. Otherwise an exception will be raised.


Possible Predecessors

read_ocr_net


Possible Successors

do_ocr_b, do_ocr_m, info_ocr_net, write_ocr_net



Copyright © 1996-1997 MVTec Software GmbH