Image drawing method, model training method, device, equipment and storage medium
Патент · CN B
Полный текст
The embodiment of the disclosure provides an image drawing method, a model training method, a device and a storage medium, wherein the method comprises the steps of obtaining a target image of a painting step to be demonstrated; the method comprises the steps of selecting a target image, obtaining region position information on the target image based on canvas used for drawing the target image in a drawing position selection network in a multi-level reinforcement learning drawing model, intercepting a reference image on the target image based on the region position information, generating stroke parameters corresponding to the reference image through the drawing network in the multi-level reinforcement learning drawing model, carrying out stroke rendering on the canvas based on the stroke parameters, displaying drawing processes carried out through the position selection network and the drawing network, and repeating the region selection, the stroke parameter generation, the stroke rendering and the drawing process display for a plurality of times until the image content on the target image is drawn on the canvas. Thus, the painting process of human is simulated, and the interpretation of painting by using the artificial intelligence technology is improved.