Patent ID: 11881038
Assignee: KIA CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. The method of claim 1, wherein:
the decoder is a bidirectional structure including a forward decoder and a backward decoder, and the forward decoder recognizes a text image in the same direction as a reading order and the backward decoder recognizes the text image in the opposite direction to the reading order,
the decoder of each direction includes two identical decoding units, and each decoding unit includes one self-attention layer, one encoder-decoder attention layer, and one feed forward network module,
the dimension output in each step of the decoder is converted into a dimension of a character set size by using one fully connected layer, and then a likelihood value of the character output in each step is acquired through a softmax function, and a log likelihood value is acquired by taking a log operation, and
for the input text row/column image I, each of the forward decoder and the backward decoder outputs one recognition result, in which the recognition result with higher log likelihood value is selected as the final recognition result, and the recognition result log likelihood value is the average value of all character log likelihood values in a text sequence.