US 12,444,116 B2
Method for generating stop-motion animation, computer readable storage medium, and computer device
Tan Su, Shenzhen (CN); Peiyang Jia, Shenzhen (CN); and Fei Gao, Hongkong (CN)
Assigned to ARASHI VISION INC., Shenzhen (CN)
Appl. No. 18/034,503
Filed by ARASHI VISION INC., Shenzhen (CN)
PCT Filed Nov. 2, 2021, PCT No. PCT/CN2021/128254
§ 371(c)(1), (2) Date Apr. 28, 2023,
PCT Pub. No. WO2022/095859, PCT Pub. Date May 12, 2022.
Claims priority of application No. 202011210963.6 (CN), filed on Nov. 3, 2020.
Prior Publication US 2024/0346738 A1, Oct. 17, 2024
Int. Cl. G06T 13/80 (2011.01); G06T 5/10 (2006.01); G06T 7/246 (2017.01); G06T 7/70 (2017.01)
CPC G06T 13/80 (2013.01) [G06T 5/10 (2013.01); G06T 7/246 (2017.01); G06T 7/70 (2017.01); G06T 2207/20056 (2013.01)] 16 Claims
OG exemplary drawing
 
1. A method for generating a stop-motion animation, comprising:
S101: acquiring a video containing a periodic motion of a target, the video containing a preset number of continuous motion periods;
S102: determining an initial motion period of the target in the video by using a posture estimation algorithm;
S103: determining a start period node according to the initial motion period, determining subsequent period nodes according to the start period node, and for the preset number of continuous motion periods, respectively extracting, in each motion period, a video frame corresponding to the same posture, or respectively extracting, in each motion period, a video frame corresponding to a different posture in a sequential order or reversed sequential order of motion, so as to obtain a video frame sequence of the stop-motion animation; and
S104: generating a stop-motion animation video according to the video frame sequence of the stop-motion animation,
wherein the S102 specifically comprises:
S1021: extracting a preset number of continuous video frames from the video:
S1022: for the preset number of continuous video frames, identifying key points of the target periodically moving in each of the video frames by using the target identification and tracking algorithm, and each of the key points is represented by coordinate values;
S1023: according to the key points of the target in the preset number of continuous video frames, calculating an observation value V(i) of two preset key points in each of the video frames to obtain an observation value sequence of the video, wherein the observation value is the distance between the two preset key points of the target in the video frame;
S1024: performing discrete Fourier transform on the observation value sequence to find the frequency F with the largest response, then the period of an initial observation value is N/F, wherein N is the number of the preset number of continuous video frames; and
S1025: obtaining an initial motion period M(0) according to the period of the initial observation value.