IP Library Granted Patent US 12,412,426
Granted Patent B2
US 12,412,426 · App. 17/999,284 · Granted Sep 9, 2025

Action recognition method and apparatus, and device and storage medium

Inventor: Binquan Li (Guangzhou, CN)
Assignee: BIGO TECHNOLOGY PTE. LTD.
G06V40/20G06N3/045G06N3/08G06V10/764G06V10/7715G06V10/806G06V10/82G06V20/40G06V20/41G06V20/44G06V20/46G06V20/49H04N19/172H04N19/513H04N19/52
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,412,426
App. No.
17/999,284
Granted
Sep 9, 2025
Kind
B2
Abstract

Provided is an action recognition method. The method includes: acquiring grouped video data by grouping original compressed video data; inputting the grouped video data into a first predetermined model, and determining, based on an output result of the first predetermined model, target grouped video data containing an action; acquiring to-be-recognized grouped video data by decoding the target grouped video data; and inputting the to-be-recognized grouped video data into a second predetermined model, and determining, based on an output result of the second predetermined model, a type of an action contained in the to-be-recognized grouped video data.

Claims (85)

1. An action recognition method, comprising:

acquiring grouped video data by grouping original compressed video data;

inputting the grouped video data into a first predetermined model and determining, based on an output result of the first predetermined model, target grouped video data containing an action;

acquiring to-be-recognized grouped video data by decoding the target grouped video data; and

inputting the to-be-recognized grouped video data into a second predetermined model and determining, based on an output result of the second predetermined model, a type of an action contained in the to-be-recognized grouped video data;

wherein acquiring the to-be-recognized grouped video data by decoding the target grouped video data comprises:

acquiring a to-be-recognized segmented video image by decoding the target grouped video data;

acquiring frequency domain information in the to-be-recognized segmented video image and generating a corresponding frequency domain graph based on the frequency domain information; and

determining the to-be-recognized segmented video image and the corresponding frequency domain graph as the to-be-recognized grouped video data.

2. The method according to claim 1 , wherein acquiring the grouped video data by grouping the original compressed video data comprises:

acquiring interval compressed videos by performing interval division on the original compressed video data based on a predetermined grouping rule; and

acquiring the grouped video data by extracting I frame data and P frame data in each of the interval compressed videos based on a predetermined extraction policy, wherein the P frame data comprises at least one of the following information corresponding to a P frame: motion vector information and pigment change residual information.

3. The method according to claim 2 , wherein the first predetermined model comprises a first 2D residual network, a first concatenation layer, and a first fully connected layer; wherein

feature maps with a same dimension are acquired by inputting the grouped video data into the first predetermined model and processing the grouped video data by the first 2D residual network;

a concatenated feature map is acquired by concatenating the feature maps by the first concatenation layer based on a frame sequence; and

a classification result indicating whether an action is contained is acquired by processing the concatenated feature map by the first fully connected layer.

4. The method according to claim 3 , wherein

acquiring the grouped video data by extracting the I frame data and the P frame data in each of the interval compressed videos based on the predetermined extraction policy comprises:

extracting the I frame data and the P frame data in each of the interval compressed videos based on the predetermined extraction policy;

cumulatively transforming the P frame data such that transformed P frame data depends on forward adjacent I frame data; and

determining the grouped video data based on the I frame data and the transformed P frame data; and

the first predetermined model further comprises an addition layer located before the concatenation layer, a feature map corresponding to the P frame data in the feature maps is denoted as a P frame feature map, and a feature map corresponding to the I frame data in the feature maps is denoted as an I frame feature map; wherein

a P frame feature map to which the I frame feature map is added is acquired by processing the P frame feature map and the I frame feature map by the addition layer; and

the concatenated feature map is acquired by concatenating the I frame feature map and the P frame feature map acquired upon the addition by the first concatenation layer based on the frame sequence.

5. The method according to claim 3 , wherein

a feature shift layer is comprised in the first predetermined model, wherein the feature shift layer is before a residual structure of the first 2D residual network; and

at least one of up-shifted grouped video data and down-shifted grouped video data is acquired by processing the grouped video data by the feature shift layer prior to being input into the residual structure.

6. The method according to claim 2 , wherein extracting the P frame data in each of the interval compressed video based on the predetermined extraction policy comprises:

extracting a predetermined number of P frame data in each of the interval compressed videos in an equal-interval manner;

wherein a predetermined number of P frame data in each of the interval compressed videos is extracted in a random-interval manner during training of the first predetermined model.

7. The method according to claim 1 , wherein the second predetermined model comprises a model based on an efficient convolutional network for online video understanding (ECO) architecture.

8. The method according to claim 7 , wherein the second predetermined model comprises a second concatenation layer, a second 2D residual network, a 3D residual network, a third concatenation layer, and a second fully connected layer; wherein

concatenated image data is acquired by inputting the to-be-recognized grouped video data into the second predetermined model and concatenating the to-be-recognized segmented video image and the corresponding frequency domain graph by the second concatenation layer;

a 2D feature map is acquired by processing the concatenated image data by the second 2D residual network;

a 3D feature map is acquired by inputting an intermediate layer output result of the second 2D residual network into the 3D residual network and processing the intermediate layer output result by the 3D residual network;

a to-be-recognized feature map is acquired by concatenating the 2D feature map and the 3D feature map by the third concatenation layer; and

a corresponding action type label is acquired by processing the to-be-recognized feature map by the second fully connected layer.

9. The method according to claim 8 , wherein the second predetermined model further comprises a first pooling layer and a second pooling layer; wherein

a one-dimensional 2D eigenvector containing a first number of elements is acquired by processing the 2D feature by the first pooling layer prior to being input into the third concatenation layer;

a one-dimensional 3D eigenvector containing a second number of elements is acquired by processing the 3D feature map by the second pooling layer prior to being input into the third concatenation layer; and

acquiring the to-be-recognized concatenated feature map by concatenating the 2D feature map and the 3D feature map by the third concatenation layer comprises:

acquiring a to-be-recognized concatenated vector by concatenating the one-dimensional 2D eigenvector and the one-dimensional 3D eigenvector by the third concatenation layer.

10. The method according to claim 9 , wherein the first pooling layer comprises a multi-receptive-field pooling layer.

11. The method according to claim 10 , wherein the first pooling layer comprises a first-level local pooling layer, a second-level global pooling layer, and a vector merging layer, the first-level local pooling layer containing at least two pooling kernels with different sizes; wherein

at least two groups of 2D pooled feature maps with different scales are acquired by processing the 2D feature map by the first-level local pooling layer;

at least two groups of eigenvectors are acquired by processing the at least two groups of 2D pooled feature maps with different scales by the second-level global pooling layer; and

the one-dimensional 2D eigenvector containing the first number of elements is acquired by processing the at least two groups of eigenvectors by the vector merging layer.

12. An action recognition computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when loading and executing the computer program, is caused to perform:

acquiring grouped video data by grouping original compressed video data;

inputting the grouped video data into a first predetermined model and determining, based on an output result of the first predetermined model, target grouped video data containing an action;

acquiring to-be-recognized grouped video data by decoding the target grouped video data; and

inputting the to-be-recognized grouped video data into a second predetermined model and determining, based on an output result of the second predetermined model, a type of an action contained in the to-be-recognized grouped video data;

wherein acquiring the to-be-recognized grouped video data by decoding the target grouped video data comprises:

acquiring a to-be-recognized segmented video image by decoding the target grouped video data;

acquiring frequency domain information in the to-be-recognized segmented video image and generating a corresponding frequency domain graph based on the frequency domain information; and

determining the to-be-recognized segmented video image and the corresponding frequency domain graph as the to-be-recognized grouped video data.

13. A non-transitory computer-readable storage medium storing a computer program therein, wherein the computer program, when loaded and executed by a processor, causes the processor to perform:

acquiring grouped video data by grouping original compressed video data;

inputting the grouped video data into a first predetermined model and determining, based on an output result of the first predetermined model, target grouped video data containing an action;

acquiring to-be-recognized grouped video data by decoding the target grouped video data; and

inputting the to-be-recognized grouped video data into a second predetermined model and determining, based on an output result of the second predetermined model, a type of an action contained in the to-be-recognized grouped video data;

wherein acquiring the to-be-recognized grouped video data by decoding the target grouped video data comprises:

acquiring a to-be-recognized segmented video image by decoding the target grouped video data;

acquiring frequency domain information in the to-be-recognized segmented video image and generating a corresponding frequency domain graph based on the frequency domain information; and

determining the to-be-recognized segmented video image and the corresponding frequency domain graph as the to-be-recognized grouped video data.

14. The action recognition computer device according to claim 12 , wherein the processor, when loading and executing the computer program, is caused to perform:

acquiring interval compressed videos by performing interval division on the original compressed video data based on a predetermined grouping rule; and

acquiring the grouped video data by extracting I frame data and P frame data in each of the interval compressed videos based on a predetermined extraction policy, wherein the P frame data comprises at least one of the following information corresponding to a P frame: motion vector information and pigment change residual information.

15. The action recognition computer device according to claim 14 , wherein the first predetermined model comprises a first 2D residual network, a first concatenation layer, and a first fully connected layer; wherein

feature maps with a same dimension are acquired by inputting the grouped video data into the first predetermined model and processing the grouped video data by the first 2D residual network;

a concatenated feature map is acquired by concatenating the feature maps by the first concatenation layer based on a frame sequence; and

a classification result indicating whether an action is contained is acquired by processing the concatenated feature map by the first fully connected layer.

16. The action recognition computer device according to claim 15 , wherein the processor, when loading and executing the computer program, is caused to perform:

extracting the I frame data and the P frame data in each of the interval compressed videos based on the predetermined extraction policy;

cumulatively transforming the P frame data such that transformed P frame data depends on forward adjacent I frame data; and

determining the grouped video data based on the I frame data and the transformed P frame data; and

the first predetermined model further comprises an addition layer located before the concatenation layer, a feature map corresponding to the P frame data in the feature maps is denoted as a P frame feature map, and a feature map corresponding to the I frame data in the feature maps is denoted as an I frame feature map; wherein

a P frame feature map to which the I frame feature map is added is acquired by processing the P frame feature map and the I frame feature map by the addition layer; and

the concatenated feature map is acquired by concatenating the I frame feature map and the P frame feature map acquired upon the addition by the first concatenation layer based on the frame sequence.

17. The action recognition computer device according to claim 15 , wherein

a feature shift layer is comprised in the first predetermined model, wherein the feature shift layer is before a residual structure of the first 2D residual network; and

at least one of up-shifted grouped video data and down-shifted grouped video data is acquired by processing the grouped video data by the feature shift layer prior to being input into the residual structure.

18. The action recognition computer device according to claim 14 , wherein the processor, when loading and executing the computer program, is caused to perform:

extracting a predetermined number of P frame data in each of the interval compressed videos in an equal-interval manner;

wherein a predetermined number of P frame data in each of the interval compressed videos is extracted in a random-interval manner during training of the first predetermined model.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 18, 2022
From: LI, BINQUAN
To: BIGO TECHNOLOGY PTE. LTD.
Reel/Frame 061826/0905 →
Priority Claims (1)
CN 202010431706.9 · May 20, 2020 · national
Continuity (1)
Related Publication 20230196837A1 · Jun 22, 2023
References Cited (48)
US 5612735A · Haskell · 1997 [cited by examiner]
US 5619256A · Haskell · 1997 [cited by examiner]
US 6055012A · Haskell · 2000 [cited by examiner]
US 8345984B2 · Ji · 2013 [cited by examiner]
US 10528819B1 · Manmatha · 2020 [cited by examiner]
US 10691949B2 · Danielsson · 2020 [cited by examiner]
US 10909424B2 · Kwan · 2021 [cited by examiner]
US 11501532B2 · Gan · 2022 [cited by examiner]
US 11568545B2 · Manmatha · 2023 [cited by examiner]
US 12219289B2 · Zhao · 2025 [cited by examiner]
US 20040005004A1 · Demos · 2004 [cited by examiner]
US 20090249208A1 · Song · 2009 [cited by examiner]
US 20110182469A1 · Ji et al. · 2011 [cited by applicant]
US 20120218473A1 · Xu · 2012 [cited by examiner]
US 20180137362A1 · Danielsson · 2018 [cited by examiner]
US 20200143457A1 · Manmatha · 2020 [cited by examiner]
US 20200160110A1 · Kwan · 2020 [cited by examiner]
US 20200342234A1 · Gan · 2020 [cited by examiner]
US 20210216785A1 · Debucean · 2021 [cited by examiner]
US 20210342924A9 · Manmatha · 2021 [cited by examiner]
US 20220301351A1 · Zhao · 2022 [cited by examiner]
CN 106407889A · 2017 [cited by examiner]
CN 108280436A · 2018 [cited by examiner]
CN 109522867A · 2019 [cited by examiner]
CN 110163052A · 2019 [cited by examiner]
CN 110414335A · 2019 [cited by applicant]
CN 110490055A · 2019 [cited by examiner]
CN 110490078A · 2019 [cited by examiner]
CN 110826545A · 2020 [cited by applicant]
CN 111080699A · 2020 [cited by examiner]
CN 111598026A · 2020 [cited by applicant]
Wu et al., “Compressed Video Action Recognition,” 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 2018, pp. 6026-6035 (Year: 2018). [cited by examiner]
Jappie et al., “Summarynet: a multi-stage deep learning model for automatic video summarisation.” arXiv preprint arXiv:2002.09424 (2020). (Year: 2020). [cited by examiner]
Qi et al., “Sports Video Captioning via Attentive Motion Representation and Group Relationship Modeling,” in IEEE Transactions on Circuits and Systems for Video Technology, vol. 30, No. 8, pp. 2617-2633, Aug. 2020 (publ… [cited by examiner]
Ehsani et al., “Who Let the Dogs Out? Modeling Dog Behavior from Visual Data, ” 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 2018, pp. 4051-4060 (Year: 2018). [cited by examiner]
Zolfaghari et al., “Eco: Efficient convolutional network for online video understanding.” In Proceedings of the European conference on computer vision (ECCV), pp. 695-712. 2018. (Year: 2018). [cited by examiner]
CN 111080699 A (machine translation) (Year: 2020). [cited by examiner]
CN 106407889 A (machine translation) (Year: 2017). [cited by examiner]
CN 110490078 A (machine translation) (Year: 2019). [cited by examiner]
CN 108280436 A (machine translation) (Year: 2018). [cited by examiner]
CN 110490055 A (machine translation) (Year: 2019). [cited by examiner]
CN 110163052 A (machine translation) (Year: 2019). [cited by examiner]
CN 109522867 A (machine translation) (Year: 2019). [cited by examiner]
Communication pursuant to Rule 164(1) EPC of counterpart European application No. 21808837.5 issued on Jun. 6, 2024, which is a foreign counterpart application to this application. [cited by applicant]
Extended European Search Report Communication Pursuant to Rule 62 EPC for European Application No. 21808837.5 dated Aug. 27, 2024, which is a foreign counterpart application to this application. [cited by applicant]
Chadha Aaron, et al., “Video Classification With CNNs: Using the Codec as a Spatio-Temporal Activity Sensor”, IEEE Transactions on Circuits and Systems for Video Technology, IEEE, USA, vol. 29, No. 2, Feb. 1, 2019, pp. … [cited by applicant]
Liu, Zhaoyang, et al., “TEINet: Towards an Efficient Architecture for Video Recognition”, arxiv.org, Cornell University Library, 201 Olin Library Cornell University Ithaca, NY 14853, Nov. 21, 2019, Figures: 1; abstract;… [cited by applicant]
International Search Report of the International Searching Authority for State Intellectual Property Office of the People's Republic of China in PCT application No. PCT/CN2021/085386 issued on Jul. 2, 2021, which is an … [cited by applicant]