CPC H04N 7/014 (2013.01) [G06T 7/20 (2013.01); H04N 23/632 (2023.01); H04N 23/951 (2023.01); G06T 2207/10016 (2013.01)] | 20 Claims |
1. A method for frame interpolation, applied to an electronic device comprising a camera, the method comprising:
obtaining on-screen display (OSD) data and first video data collected by the camera;
dividing the first video data into a plurality of video segments;
for each of the plurality of video segments, determining a video frame rate corresponding to the video segment, to obtain a plurality of video frame rates;
obtaining second video data by performing frame interpolation on the first video data; and
displaying the second video data and the OSD data in a video window;
wherein obtaining the second video data by performing frame interpolation on the first video data comprises:
obtaining the second video data by performing frame interpolation on the first video data, in response to a difference between a maximum video frame rate and a minimum video frame rate among the plurality of video frame rates being smaller than a preset threshold.
|