US 12,020,482 B2
Live streaming sampling method and apparatus, and electronic device
Xianzi Zong, Beijing (CN); Yi He, Beijing (CN); Yangyu Chen, Beijing (CN); and Xinyu Wang, Beijing (CN)
Assigned to BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD., (CN)
Appl. No. 17/624,217
Filed by BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD., Beijing (CN)
PCT Filed Oct. 29, 2020, PCT No. PCT/CN2020/124817
§ 371(c)(1), (2) Date Dec. 30, 2021,
PCT Pub. No. WO2021/143273, PCT Pub. Date Jul. 22, 2021.
Claims priority of application No. 202010060220.9 (CN), filed on Jan. 19, 2020.
Prior Publication US 2022/0383637 A1, Dec. 1, 2022
Int. Cl. G06V 20/40 (2022.01); G06V 10/44 (2022.01); G06V 10/74 (2022.01); G06V 10/77 (2022.01)
CPC G06V 20/46 (2022.01) [G06V 10/44 (2022.01); G06V 10/761 (2022.01); G06V 10/7715 (2022.01)] 16 Claims
OG exemplary drawing
 
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.