Patent ID: 11949978
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 18:
19. A terminal, comprising a camera, one or more processors, and one or more non-transitory memories, wherein the one or more processors are coupled to the camera and the one or more memories, the one or more memories are configured to store computer program code, the computer program code comprises computer instructions, and when the one or more processors execute the computer instructions, the terminal is caused to:
enable a camera application;
display a photographing preview interface of the camera application;
obtain a first preview picture and a first reference frame picture that are captured by the camera, wherein both the first preview picture and the first reference frame picture comprise image content of a first object and image content of a second object, and in the first preview picture, the image content of the first object shields a partial image of the second object;
determine the first object in the first preview picture as a to-be-removed object from the first preview picture;
determine to-be-filled content in the first preview picture based on the first reference frame picture, the to-be-filled content being image content that is of the second object and that is shielded by the first object in the first preview picture;
generate a first restored picture of the first preview picture based on the to-be-filled content and the first preview picture, wherein in the first restored picture, the image content of the first object is replaced with content of the partial image of the second object that is shielded by the image content of the first object;
display the first restored picture in the photographing preview interface; and
display a removal disabling control in the photographing preview interface, the removal disabling control being configured for a user to control to cancel replacing the image content of the first object.