The invention discloses an image controllable generation method and
system used in the packaging field. The method comprises: acquiring an initial image; using a visual model and a
resolution threshold to screen a
package image with a clear and complete main body from the initial image, and marking an image with a high aesthetic
score through a rolling type active learning strategy in combination with RankNet; batch automatic marking is carried out, and text content and position information thereof are fixed; a feature sequence is extracted through an
encoder, a noisy hidden variable is constructed, and deep interaction among a text, an image and a
control chart is carried out through a full bidirectional interaction Transform block so as to generate a
package design image. By implementing the method, the
data annotation cost can be remarkably reduced, the aesthetic preference accuracy and
annotation efficiency can be improved, meanwhile, the defects of an existing controllable generation model in the aspects of
structural consistency and Chinese text support are overcome, and the
spatial structure consistency and Chinese text loyalty of a finally generated image are improved.