Image QR Code Region Erasure for Security and Content Preservation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current methods of dealing with QR codes in images often result in the deletion of entire pictures, which reduces their value and user experience, as they fail to effectively address security risks while preserving the remaining content.
Innovation Solution
A picture processing method that identifies and effaces the QR code area in images using parameters such as dominant color systems and attributes, allowing for methods like color filling, blurring, or adding a QR code mask to remove the QR code while maintaining the image's integrity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the entire picture is deleted to avoid security risks from QR codes, then security risks are eliminated, but the use value of the picture is lost
Solution Approach 1:
The patent segments the picture into multiple regions: QR code detection areas (where QR codes may be located) and non-QR code areas (the remaining picture content). By identifying and isolating the QR code regions, the system can selectively process only those specific areas while preserving the rest of the picture, thus eliminating security risks without losing valuable image content.
Solution Approach 2:
The patent extracts and removes only the QR code portions from the picture by detecting QR code patterns in specific regions and erasing or masking those detected areas. This extraction approach allows the system to eliminate the harmful QR code elements while maintaining the integrity and usability of the remaining picture content.
2Reliability
If QR codes are completely removed from pictures, then security risks are avoided, but user experience deteriorates due to loss of picture transmission capability
Solution Approach 1:
The patent divides the picture processing into segmented regions: QR code detection zones and normal picture zones. By applying processing operations only to the detected QR code regions and leaving other areas unchanged, the system maintains the picture's overall integrity and transmission capability while eliminating security threats from QR codes.
Solution Approach 2:
The patent applies different processing qualities to different regions of the picture: QR code areas undergo effacement or masking operations, while non-QR code areas retain their original quality and characteristics. This local quality approach ensures that security risks are addressed in specific locations without degrading the overall picture quality or transmission functionality.
3Loss of information
If effacing process is applied to the target area, then QR code information is removed, but picture quality may be affected
Solution Approach 1:
The patent applies effacing operations locally only to the detected QR code target areas while preserving the quality of surrounding non-QR code regions. By confining the processing to specific detected zones and using appropriate effacing methods (such as color matching or selective masking), the system removes QR code information without significantly affecting the overall picture quality.
Solution Approach 2:
The patent employs parameter-based effacing methods that adjust processing intensity and technique based on the specific characteristics of the QR code region and surrounding area. By dynamically adjusting effacing parameters (such as color values, masking intensity, or boundary smoothing), the system effectively removes QR code information while minimizing impact on picture quality.
Data Source
Figure 1~3
Figure 4~6
Figure 7
AI summary
A picture processing method, a picture processing apparatus, an electronic device and a storage medium are provided, which relate to the field of computer vision in the field of artificial intelligence technologies. The picture processing method includes: identifying (S101) a target area where a QR code is located in a picture; obtaining (S102) parameters of the picture; and performing (S103) effacing process on the target area of the picture based on the parameters.