Research Article
DetReco: Object-Text Detection and Recognition Based on Deep Neural Network
Algorithm 3
Recognition network training algorithm.
| Input: Parameter_1: The training set of text . is the number of the batches. is the -th batch of the training set; | | Parameter_2: The text labels corresponding to the text training images: | | Output: Weights of the model | | for do | | ; | | for do | | Predict the recognition result: | | ; | | ; | | Calculate the CTC loss: | | ; | | Calculate the gradients: | | ; | | Update the model parameters: | | ; | | end for | | end for |
|