CPC A63F 13/211 (2014.09) [G06T 7/20 (2013.01); G06V 10/62 (2022.01); G06V 40/172 (2022.01); G06V 40/23 (2022.01); G06V 40/50 (2022.01); G06T 2207/30201 (2013.01); G06V 2201/07 (2022.01)] | 6 Claims |
1. A target user locking method, wherein the method is applied to an electronic device comprising a camera, and the method comprises:
determining, by the electronic device, a target user, and tracking the target user through the camera by removing, by the electronic device based on the motion mode of each user in the frame, the interfering user whose motion mode is an interfering motion mode from the frame, wherein the interfering motion mode comprises at least one of a static mode and a quasi-linear motion mode;
collecting, by the electronic device, while tracking the target user, user image data collected through the camera;
when determining, based on the collected user image data, that an interfering user exists in a frame, collecting, by the electronic device, human poses of all users in the frame through the camera, wherein the frame comprises at least some of a field of view (FOV) of the camera;
determining, by the electronic device, a motion mode of each user in the frame based on the human poses of all of the users in the frame; and
determining, by the electronic device based on the motion mode of each user in the frame, where there is more than one user in the frame, that a user whose motion mode matches a known motion mode is the target user, and continuing to track the target user through the camera.
|