CPC G06T 7/215 (2017.01) [G06F 18/214 (2023.01); G06N 20/00 (2019.01); G06T 7/11 (2017.01); G06V 10/462 (2022.01); G06V 20/46 (2022.01); G06T 2207/10016 (2013.01); G06T 2207/20081 (2013.01); G06T 2207/20084 (2013.01); G06V 2201/07 (2022.01)] | 17 Claims |
1. A video target tracking method, performed by a computer device, the method comprising:
obtaining a partial detection map corresponding to a target image frame in a to-be-detected video, the partial detection map being generated based on appearance information of a target object that is in the to-be-detected video and is to be tracked by an image segmentation model;
obtaining a relative motion saliency map corresponding to the target image frame, the relative motion saliency map being generated based on motion information of the target object, comprising:
calculating an optical flow between the target image frame and a neighboring image frame;
determining a background optical flow according to an optical flow of a background region in the partial detection map; and
generating the relative motion saliency map according to the background optical flow and the optical flow corresponding to the target image frame;
determining constraint information corresponding to the target image frame according to the partial detection map and the relative motion saliency map, the constraint information including an absolute positive sample pixel, an absolute negative sample pixel, and an undetermined sample pixel in the target image frame;
adjusting a parameter of the image segmentation model by using the constraint information, to obtain an adjusted image segmentation model; and
extracting the target object from the target image frame by using the adjusted image segmentation model.
|