CPC H04N 23/632 (2023.01) [G06V 10/761 (2022.01); H04N 23/611 (2023.01)] | 20 Claims |
1. A photographing method, comprising:
generating a feature model comprising a plurality of to-be-photographed targets based on to-be-photographed objects comprised in a plurality of shooting images, wherein the to-be-photographed targets associate with a plurality of image features and the plurality of shooting images are obtained before a first shooting image;
obtaining the first shooting image comprising one or more to-be-photographed objects;
determining a to-be-photographed object in the first shooting image as a to-be-tracked target in response to the to-be-photographed object matching a to-be-photographed target in the feature model; and
tracking the to-be-tracked target in a number of shooting images following the first shooting image;
wherein for each of shooting images following the first shooting image, the tracking of the to-be-tracked target is active when the shooting image comprises a to-be-photographed object matching the to-be-tracked target, and the tracking of the to-be tracked target is inactive when the shooting image does not comprise a to-be-photographed object matching the to-be-tracked target;
wherein tracking the to-be-tracked target in the number of shooting images following the first shooting image further comprises:
initiating a timer in response to the tracking of the to-be-tracked target being active in a previous shooting image and the tracking of the to-be-tracked target being inactive in a current shooting image;
obtaining a next shooting image;
in response to the timer indicating a time interval less than a preset time length, determining one or more to-be-photographed objects in the next shooting image, and terminating the timer when a to-be-photographed object in the next shooting image matches the to-be-tracked target, and
in response to the timer indicating a time interval greater than or equal to the preset time length, determining a next to-be-tracked target in the next shooting image and terminating the timer.
|