Screenshot Image Processing Hiding Non-Operable Elements
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for processing screenshot images fail to effectively hide content that does not need to be presented, such as playback progress bars, which are included in the screenshot but cannot be operated by the user.
Innovation Solution
A method that determines if content needs to be removed from a screenshot image, searches for a corresponding element in a first image layer, and uses an adjacent element in a second image layer to cover the content based on specific hierarchical and positional relationships, thereby hiding the content without rearranging all elements.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of information
If screenshot images include complete contents of captured area, then information completeness is improved, but information accuracy deteriorates because unnecessary content (e.g., playback progress bar) cannot be operated by users yet is presented
Solution Approach 1:
The patent extracts and removes unnecessary elements (such as playback progress bars) from the screenshot image that cannot be operated by users. By identifying these elements through element recognition and selectively removing them, the system maintains information completeness for operable content while eliminating misleading non-operable content, thus resolving the contradiction between information completeness and accuracy.
Solution Approach 2:
The patent applies different processing treatments to different regions of the screenshot image. Operable content regions are preserved with full quality and detail, while non-operable content regions are removed or blurred. This localized differential processing ensures that important information is maintained while unnecessary information is eliminated, balancing information completeness and accuracy.
2Reliability
If all elements in the current page are rearranged to hide content, then content hiding effectiveness is improved, but processing complexity increases
Solution Approach 1:
Instead of rearranging all elements, the patent extracts only the specific non-operable elements that need to be hidden (such as playback progress bars). By identifying and removing only these target elements through element recognition and coordinate mapping, the system achieves effective content hiding without the complexity of global element rearrangement.
Solution Approach 2:
The patent applies partial action by processing only the necessary portions of the page rather than all elements. It identifies specific non-operable elements and applies hiding operations only to those regions, leaving the rest of the page structure unchanged. This partial processing approach maintains hiding effectiveness while significantly reducing processing complexity.
3Loss of information
If screenshot images present all captured content, then information completeness is improved, but processing time increases due to comprehensive element analysis
Solution Approach 1:
The patent performs preliminary classification of elements during the screenshot capture phase, categorizing them as operable or non-operable based on their properties. This pre-classification allows the system to quickly identify which elements need to be removed without conducting comprehensive analysis of all elements during processing, thus maintaining information completeness while reducing processing time.
Solution Approach 2:
The patent applies local quality assessment to different elements in the screenshot, focusing computational resources only on identifying and processing non-operable elements rather than analyzing every element in detail. This selective local analysis maintains accurate identification of content to be hidden while minimizing overall processing time.
Data Source
AI summary
The disclosure discloses a method for processing a screenshot image, electronic device and computer storage medium. The method includes obtaining an image of a current page based on an instruction of screenshotting the current page; determining whether the image comprises content to be removed; in response to a determination that the image comprises the content to be removed, searching for a first element in a first image layer of the current page, the first element in the first image layer corresponding to the content to be removed; determining whether a second element exists in a second image layer based on a predetermined condition, wherein the second image layer is adjacent to the first image layer; and performing a covering processing on the image to cover the content to be removed to obtain a processed image based on a determination result.


