The invention relates to the technical field of big head sticker generation, and discloses a blind box big head sticker generation method and
system based on dynamic grid
layout, and the method comprises the steps: carrying out the uniform grid division of an input
image based on the dynamic grid
layout, and setting a seed point at the center of each grid; by enumerating a triple and executing a hollow circle test, screening units conforming to a
Delaunay triangle, further calculating the
Euclidean distance between the
center of mass of each unit and the
center of mass of the image, and normalizing the
Euclidean distance into a
distortion factor based on a preset maximum distance; constructing an affine
distortion matrix and transforming triangular vertex coordinates; according to the method, the
structural integrity of the image is ensured, multi-form dynamic
distortion and multi-mode resource binding are flexibly supported, and different grid layouts (grids in different shapes), blind box random star IP display and sound resource and
timestamp addition can be realized. The grid shape and
content distribution are dynamically adjusted through an
algorithm, star materials are randomly loaded in combination with a blind box mechanism, and finally the personalized large-head sticker is generated.