US 11,991,401 B2
Method for searching advertisement insertion position and method for automatically inserting advertisement in video
Pak Kit Lam, Hong Kong (HK); and Cheng Yang, Auckland (NZ)
Assigned to Zyetric Technologies Limited, Hong Kong (HK)
Filed by Zyetric Technologies Limited, Hong Kong (HK)
Filed on Oct. 30, 2022, as Appl. No. 18/051,009.
Claims priority of application No. 202210247919.5 (CN), filed on Mar. 14, 2022.
Prior Publication US 2023/0291938 A1, Sep. 14, 2023
Int. Cl. H04N 21/234 (2011.01)
CPC H04N 21/23424 (2013.01) [H04N 21/23418 (2013.01)] 18 Claims
 
1. A method for searching an advertisement (AD) insertion position, comprising following steps:
S1. identifying a human body area in a video image;
S2. identifying a blank wall area in the video image; and
S3. determining the AD insertion position in the blank wall area in the video image, so that the AD insertion position intersects the human body area;
wherein in step S1, the human body area is segmented by using a neural network, the neural network takes the video image as input and outputs a masked image Mh(x,y) of a human body, the width and height of the masked image Mh(x,y) are the same as the width W and height H of the video image I(x,y), respectively, x={0,1, . . . ,W-1} and y={0,1, . . . ,H-1}, pixel values in the masked image Mh(x,y) are that:
pixels in a non-human body area are expressed as Mh(x,y)=0; pixels in the human body area are expressed as Mh(x,y)=1; and
the human body area in the masked image Mh(x,y) is:
Rh(x,y), when Mh(x,y)=1.