The invention discloses a DTG printing method and
system based on
line scanning camera visual deformation and
rigid body positioning, and relates to the technical field of
digital textile printing. Dynamic images are collected in real time through a
line scanning camera, and image coordinates are mapped to a printing equipment world coordinate
system through a coordinate calibration module in combination with a
calibration matrix; real-
time error compensation is used for dynamically eliminating coordinate offset, and a dual-mode positioning module intelligently switches a positioning strategy;
rigid body positioning realizes accurate positioning of non-deformation materials through
template matching; deformation positioning performs adaptive compensation based on feature point extraction and
grid deformation analysis, an image mapping module inversely corrects target pattern deformation according to a positioning result to generate a high-precision TIF image, the high-precision TIF image is converted into a printing instruction through an RIP
processing module, and an integrated control module performs one-key triggering and dynamic parameter configuration and performs printing on a target pattern. The collection efficiency is optimized through
light source synchronization and self-adaptive triggering, the
system stability is improved in combination with a template
database and an
exception handling module, and high-quality printing of complex deformation materials is achieved.