CPC G06V 20/46 (2022.01) [G06V 10/44 (2022.01); G06V 10/761 (2022.01); G06V 10/7715 (2022.01)] | 16 Claims |
1. A live stream sampling method, which is characterized by comprising:
extracting multi-frame sampled images from live stream;
screening out forward similar images from all sampled images, wherein the forward similar images are sampled images similar to a sampled image of a previous adjacent frame; and
taking the rest of the sampled images, except from the forward similar images, in all sampled images as sampled images of the live stream,
wherein the step of screening out the forward similar images from all sampled images comprises:
computing a hash code of the sampled image of each frame;
obtaining hash codes of the sampled image of each frame and the sampled image of the previous adjacent frame; and
judging whether the sampled images are forward similar images in accordance with the hash codes of the sampled image of each frame and the sampled image of the previous adjacent frame, and
wherein the step of computing the hash code of the sampled image of each frame comprises:
performing grey processing on the sampled image; and
computing a hash code of the sampled image on which grey processing is performed.
|