Patent Document ID: 9924226
Application ID: 15161940
Patent Status: 1

Claim One:
1. A method comprising: detecting a video on a display of a device, wherein the video includes a plurality of frames; identifying a detection area in at least one frame of the plurality of frames of the video; detecting a video identification mark in the detection area of the at least one frame; and concealing the video identification mark based on pixel values of boundary pixels of the detection area, wherein concealing the video identification mark includes: determining a new pixel value of a pixel in the detection area at a center of a set size mask by known pixel values in the mask along the edge direction of the detection area and towards the center of the detection area; modifying an original pixel value of the pixel in the detection area at the center of the mask according to the new pixel value; and displaying the modified new pixel value in the frame, wherein the boundary pixels of the detection area are determined by: I ⁡ ( p ) = ∑ q ∈ B ϵ ⁡ ( p ) ⁢ w ⁡ ( p , q ) ⁡ [ I ⁡ ( q ) + ∇ I ⁡ ( q ) ⁢ ( p - q ) ] ∑ q ∈ B ϵ ⁡ ( p ) ⁢ w ⁡ ( p , q ) wherein p indicates a current pixel whose pixel value needs to be modified, which is located in the detection area at the center of the mask, q indicates the known pixel in the set size mask B, I(p) indicates the modified pixel value corresponding to the current pixel, I(q) indicates a pixel value of a pixel whose pixel value is known in the mask B, w(p,q) indicates a weighted value, and ∇I(q) indicates a gradient value of the known pixel.