The invention discloses a
video restoration data set construction and
restoration method combined with generation of a
large model, and belongs to the technical field of
video restoration, and the method comprises the following steps: S1,
slicing; s2, screening: performing aesthetic scoring and
motion detection on the slices, and screening and retaining high-dynamic and high-image-quality fragments; s3, segmenting a
core object; s4, extracting text features; s5, model input; s6, performing
feature fusion; s7, model training: only training parameters of the cross attention layer, and locking gradients of other
layers to reduce the calculation cost; s8, calculating a
loss function; s9, video input: inputting a to-be-restored video, and generating an object
Mask and text description of the to-be-restored video; and S10, outputting the restored video: inputting the
Mask video, the object
Mask and the text description into the improved generated
large model, and outputting the restored video. According to the staged feature injection strategy, the global naturalness and the local reality sense are considered, and the visual consistency of the repaired content and the original video is remarkably improved.