| CPC G06T 7/11 (2017.01) [G06F 18/214 (2023.01); G06T 5/70 (2024.01); G06T 7/194 (2017.01); G06V 10/28 (2022.01); G06V 10/34 (2022.01); G06V 40/20 (2022.01); G06T 2207/20081 (2013.01)] | 18 Claims | 

| 
               1. A foreground data generation method performed by a computer device, the method comprising: 
            obtaining a target image, the target image containing a target object and a background; 
                removing the background from the target image to obtain initial foreground data of the target object in the target image; 
                expanding the initial foreground data and eroding the expanded foreground data; 
                blurring the eroded foreground data to obtain certain foreground data and uncertain data from the initial foreground data; and 
                segmenting the certain foreground data from the uncertain data, to obtain target foreground data of the target object in the target image. 
               |