The present application relates to the technical field of
image processing, and more particularly, to a kind of aluminized film quality detection method and
system based on image recognition, comprising: obtaining the fuzzy image of aluminized film, and the aluminized film is printed with Chinese and
English characters;The fuzzy image is divided into
multiple image blocks, and for each image block, based on the gradient feature of the image block, its fuzzy intensity index is calculated.The present application divides the image into blocks, and calculates the fuzzy intensity index and the fuzzy sensitivity degree for each image block respectively, and then generates a spatial variability guide weight by combining the two.The weight can intelligently identify the key areas in the image that are both severely blurred and contain complex characters, and guide the
blind deconvolution algorithm to focus on accurately restoring these areas, effectively solving the defect that traditional methods are difficult to
handle spatially varying blur, and significantly improving the restoration quality of the blurred image.