Patent ID: 11539887

Abstract:
This application discloses a video image anti-shake method and a terminal, and relates to the field of image processing, to implement compensation for translational shake in a Z direction. A video image anti-shake method includes: turning on, by a terminal, a camera lens, and photographing a video image by using the camera lens; detecting, by the terminal, shake on an X-axis, a Y-axis, and a Z-axis during photographing, where the Z-axis is an optical axis of the camera lens, the X-axis is an axis perpendicular to the Z-axis on a horizontal plane, and the Y-axis is an axis perpendicular to the Z-axis on a vertical plane; and performing, by the terminal, anti-shake processing on the video image based on the shake on the X-axis, the Y-axis, and the Z-axis. Embodiments of this application are applied to video image anti-shake.