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

Claim 0:
1. A method, comprising:
enabling, by a terminal, a camera application;
displaying, by the terminal, a photographing preview interface of the camera application;
obtaining, by the terminal, a first preview picture and a first reference frame picture that are captured by a 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;
determining, by the terminal, the first object in the first preview picture as a to-be-removed object from the first preview picture;
determining, by the terminal, 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;
generating, by the terminal, 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;
displaying, by the terminal, the first restored picture in the photographing preview interface; and
displaying, by the terminal, 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.