Static Logo Detection in Video Frames Using Multi-Feature Confidence
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for detecting static logos in videos often misjudge static objects, leading to under-protection or over-protection, resulting in poor video display quality due to 'pixel fragments' or hidden details.
Innovation Solution
A method that calculates pixel grayscale differences, edge gradients, and local direction correlations across video frames to determine a static logo region accurately, using multiple confidence scores and thresholds to decide on static logo presence.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If a simple static logo detection method is used, then the detection speed is fast, but the detection accuracy is low leading to misjudgment of static logos
Solution Approach 1:
The detection method is segmented into three independent modules: pixel grayscale difference calculation, edge gradient calculation, and local direction correlation calculation. Each module processes a specific aspect of logo detection and produces separate confidence scores that are later integrated. This segmentation allows each module to be optimized independently while maintaining overall detection accuracy.
Solution Approach 2:
The patent combines multiple detection features (grayscale difference, edge gradient, direction correlation) into a unified detection framework. Each feature contributes a confidence score, and these scores are merged through weighted integration to produce a final detection result. This merging approach leverages the strengths of each individual feature to achieve high detection accuracy.
2Measurement precision
If multiple detection features are combined to improve accuracy, then the detection precision improves, but the computational complexity increases
Solution Approach 1:
The patent applies local quality by calculating detection features in local neighborhoods rather than globally. The local direction correlation is computed within a predefined neighborhood around each pixel, and confidence scores are aggregated locally before final integration. This local approach reduces computational complexity compared to global calculations while maintaining detection precision.
Solution Approach 2:
The method computes only the essential detection features needed for accurate logo detection rather than analyzing all possible image properties. By selecting and computing only the most relevant features (grayscale difference, edge gradient, direction correlation), the system achieves high precision without unnecessary computational overhead.
3Productivity
If traditional motion compensation is applied without accurate logo detection, then the processing speed is maintained, but visual quality deteriorates due to pixel fragments and hidden details
Solution Approach 1:
The static logo detection is performed as a preliminary step before motion compensation processing. By identifying static logo regions in advance, the system can apply appropriate protection or special processing to these regions during subsequent motion compensation, preventing pixel fragments and detail loss while maintaining overall processing efficiency.
Data Source
Figure 1
Figure 2(a)~4(c)
Figure 5
AI summary
The present disclosure discloses a method for detecting a static logo of a video, an electronic apparatus and a storage medium. The method includes: calculating a pixel grayscale flag value, an edge gradient flag value and an edge direction flag value; calculating, in a preset neighborhood centered on the pixel at each pixel position of the current video frame, a first local confidence degree of the pixel grayscale flag value, a second local confidence degree of the edge gradient flag value, and a third local confidence degree of the edge direction flag value respectively; calculating a contribution score of each local confidence degree and a total contribution score of each pixel position; and gathering the total contribution score of each pixel position of the current video frame, and determining a static logo in the current video frame according to the total contribution score of each pixel position. The method can accurately detect a static logo region of each video frame in a video, reduce the problem of static logo under-protection or static logo over-protection, and improve video display quality.