US 12,254,637 B2
Silhouette image processing
Bodi Shi, Shanghai (CN); Yong Luo, Shanghai (CN); and Zhihao Huang, Shanghai (CN)
Assigned to Shanghai Bilibili Technology Co., Ltd., Shanghai (CN)
Filed by Shanghai Bilibili Technology Co., Ltd., Shanghai (CN)
Filed on Jul. 7, 2022, as Appl. No. 17/859,688.
Application 17/859,688 is a continuation of application No. PCT/CN2020/140725, filed on Dec. 29, 2020.
Claims priority of application No. 202010174662.6 (CN), filed on Mar. 13, 2020.
Prior Publication US 2022/0343507 A1, Oct. 27, 2022
Int. Cl. G06T 7/12 (2017.01); G06T 3/40 (2024.01); G06T 7/11 (2017.01); G06T 7/60 (2017.01)
CPC G06T 7/12 (2017.01) [G06T 3/40 (2013.01); G06T 7/11 (2017.01); G06T 7/60 (2013.01); G06T 2207/20081 (2013.01); G06T 2207/20084 (2013.01); G06T 2207/30196 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A method, comprising:
obtaining an original image and obtaining a to-be-processed image based on the original image;
recognizing the to-be-processed image through an image recognition model to obtain a silhouette array, wherein the silhouette array comprises a plurality of silhouette array elements, and the plurality of silhouette array elements comprise a plurality of first values corresponding to a region of interest of the to-be-processed image and a plurality of second values corresponding to a region of non-interest of the to-be-processed image;
generating a silhouette image based on the silhouette array;
generating a target image based on the original image and the silhouette image, wherein the target image corresponds to a region of interest of the original image;
calculating a silhouette matching degree between the silhouette array and a reference array of a reference image; and
inserting the target image into the reference image if the silhouette matching degree between the silhouette array and the reference array of the reference image is greater than a preset threshold.