The invention relates to the technical field of
computer vision, can be applied to the field of
medical health and the field of financial
payment, and discloses a text rendering method, device and equipment based on proxy confrontation and a storage medium, which are applied to an electronic health
recording system or can be applied to a mobile
bank and
payment application scene. The method comprises the following steps: acquiring a
font code, a style parameter and a
target text image; performing text rendering through the
font codes and the style parameters to generate an initial text image; carrying out parallel calculation on the adversarial loss, the
perception consistency loss and the reconstruction loss; calculating the total loss of the model based on the adversarial loss, the perceptual consistency loss and the reconstruction loss, and training the rendering model again based on the total loss of the model to generate a target rendering model; and obtaining the to-be-processed
font code and the style parameter, and performing text rendering based on the to-be-processed font code and the style parameter through the model rendering model to generate a
target text rendering image. According to the invention, the text rendering quality and efficiency are improved.