The invention relates to a gold
stamping packaging box production method and
system, and the method comprises the following steps: S1, carrying out the
humidity adjustment and flatness correction of a packaging box blank
raw material, and enabling the
humidity and flatness of the
raw material to reach preset threshold values; s2, a gold
stamping target area of the blank is recognized, and three-dimensional coordinates of the gold
stamping target area are obtained; s3, based on the
raw material characteristics, the environmental parameters and the positioning data, gold stamping temperature, pressure and speed parameters are calculated through a
machine learning model; s4, according to the three-dimensional coordinates and the gold stamping parameters, a gold stamping plate is controlled to be attached to the
green body for
hot stamping; s5, performing defect detection on the gold-stamped
green body, and dividing qualified products and unqualified products according to a detection result; and S6, the qualified product is subjected to
cutting, film covering,
impurity removal and collection. The method has the beneficial effects that
substrate deformation caused by non-uniform
humidity of raw materials and poor flatness is eliminated, the three-dimensional space coordinates of the gold stamping target area can be accurately recognized, and the gold stamping temperature, pressure and speed can be dynamically optimized based on a
machine learning model.