|
(11) | EP 4 187 504 A8 |
| (12) | CORRECTED EUROPEAN PATENT APPLICATION |
| Note: Bibliography reflects the latest situation |
|
|
|
|
|||||||||||||||||||||||||||
| (54) | METHOD FOR TRAINING TEXT CLASSIFICATION MODEL, APPARATUS, STORAGE MEDIUM AND COMPUTER PROGRAM PRODUCT |
| (57) The present disclosure provides a method for training a text classification model,
a method for recognizing text content and apparatuses thereof, and relates to the
technical field of artificial intelligence, in particular to the technical fields
of deep learning and computer vision, and may be applied to scenarios such as optical
character recognition or text recognition. The method for training includes: acquiring
a set of to-be-trained images, the set of to-be-trained images including at least
one sample image; determining predicted position information and predicted attribute
information of each text line in each sample image based on each sample image; and
training to obtain the text classification model, based on the annotation position
information and the annotation attribute information of each text line in each sample
image, and the predicted position information and the predicted attribute information
of each text line in each sample image, and the text classification model is used
to detect attribute information of each text line in an to-be-recognized image. The
method improves the accuracy of training, so that when attribute information of a
text line is determined based on the text classification model, the reliability of
classification is improved.
|