| CPC G06N 3/08 (2013.01) [G06T 5/80 (2024.01); G06V 10/761 (2022.01); H04N 23/683 (2023.01); H04N 23/69 (2023.01); G06T 2207/20132 (2013.01)] | 20 Claims |

|
1. An image processing method for acquiring video stream in real time, the image processing method comprising:
performing stabilization on an acquired first image to obtain a first cropped area;
performing perspective distortion correction on the first cropped area to obtain a third cropped area;
obtaining a third image based on the first image and the third cropped area;
performing stabilization on an acquired second image to obtain a second cropped area, wherein the second cropped area is related to the first cropped area and shake information, and the shake information indicates a shake that occurs in a process in which a terminal acquires the first image and the second image;
performing perspective distortion correction on the second cropped area to obtain a fourth cropped area;
obtaining a fourth image based on the second image and the fourth cropped area; and
generating a target video based on the third image and the fourth image;
wherein the first image and the second image are a pair of original images that are acquired by the terminal and are adjacent to each other in time domain.
|