Method, device and equipment for optimizing two-dimensional code image in reflective scene and medium

By performing grayscale weighted calculation, filtering, erosion kernel processing, and image restoration on QR code images in reflective scenes, the blurring and distortion problems caused by specular interference in QR code images are solved, and efficient QR code image recognition is achieved.

CN122156009APending Publication Date: 2026-06-05BEIJING LINGTONG DIGITAL INTELLIGENCE TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING LINGTONG DIGITAL INTELLIGENCE TECHNOLOGY CO LTD
Filing Date
2026-02-03
Publication Date
2026-06-05

Smart Images

  • Figure CN122156009A_ABST
    Figure CN122156009A_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, device, equipment and medium for optimizing a two-dimensional code image in a reflective scene, comprising: performing gray value weighting calculation on each pixel point in the two-dimensional code initial image to generate a gray processing image; traversing all pixel points in the gray processing image through a preset sliding window, and taking the mean value of the gray values of all pixel points in the sliding window as the gray value of the center pixel point in the sliding window to generate a filter processing image; performing convolution operation on the filter processing image through a preset filter to generate a blur smoothing image; traversing all pixel points in the blur smoothing image through a preset size of an erosion kernel, taking the minimum gray value in the covered area of the erosion kernel as the gray value of the current pixel point to generate a morphological processing image; using an image inpainting algorithm to repair the content of the highlight area; and performing adaptive local mean binarization on the morphological processing image to obtain a two-dimensional code optimization image. Thus, the two-dimensional code recognition efficiency is effectively improved.
Need to check novelty before this filing date? Find Prior Art