The invention discloses an image counterfeiting multi-type detection method and
system based on a visual large
language model, and belongs to the technical field of
image processing and
computer vision. The method comprises the following steps of: preprocessing a
data set containing normal, copy and paste forged and spliced forged images, extracting visual and language features by utilizing a pre-training model, and realizing
feature fusion by adopting a multi-
modal alignment technology. Whether an image is forged or not is judged through a classification task, a forged area is positioned through a segmentation task, and meanwhile a forged text description is output through a
text generation module. The
loss function is optimized in combination with classification, segmentation, comparison and text
cross entropy loss. And adopting an end-to-end training and course learning strategy training model, and outputting a forgery probability, a regional
mask and text description during reasoning. According to the method, multiple counterfeit types can be processed at the same time, high-precision positioning is achieved, multi-
modal information is effectively fused, and detailed counterfeit text description can be provided.