Image Processing Method and Device
AssigneeHuawei Technologies Co., Ltd.
InventorsYahui Wang, Xin Chen, Yunchao Zhang
Life of this patent
Estimating the term…
Abstract
A method includes photographing a first image, where the first image comprises a document. A first area of the document is obscured by a first obstruction. The method further includes determining a location of the first area based on depth data. The method further includes photographing a second image. The method further includes restoring the obstructed information in the first area based on the second image. The method further includes displaying a third image, wherein the third image comprises the document and the first obstruction is removed from the first area of the document.
Claims21
-23. (canceled)
An electronic device, comprising:
- a camera;
- a processor coupled to the camera;
- and
- a memory coupled to the processor and comprising instructions that, when executed by the processor, cause the electronic device to be configured to:
- photograph a document that includes first information in a first area to obtain a first image that comprises the document and a first object, wherein the first object obscures the first information in the first image;
- determine a location of the first area in the first image based on depth data collected by the camera;
- photograph the document to obtain a second image that includes the first information;
- restore the first information in the location of the first area in the first image based on the second image to obtain a third image;
- and
- display the third image, wherein the document is displayed in the third image with the first object being removed from the location of the first area of the document.
A non-transitory computer readable medium storing computer instructions that, when executed by a processor, cause an electronic device to be configured to:
- photograph a document that includes first information in a first area to obtain a first image that comprises the document and a first object, wherein the first object obscures the first information in the first image;
- determine a location of the first area in the first image based on depth data collected by the electronic device;
- photograph the document to obtain a second image that includes the first information;
- restore the first information in the location of the first area in the first image based on the second image to obtain a third image;
- and
- display the third image, wherein the document is displayed in the third image with the first object being removed from the location of the first area of the document.
An image processing method, comprising:
- photographing, by a camera of an electronic device, a document that includes first information in a first area to obtain a first image that comprises the document and a first object, wherein the first object obscures the first information in the first image;
- determining a location of the first area in the first image based on depth data collected by the camera of the electronic device;
- photographing the document to obtain a second image that includes the first information;
- restoring the first information in the location of the first area in the first image based on the second image to obtain a third image;
- and
- displaying the third image, wherein the document is displayed in the third image with the first object being removed from the location of the first area of the document.
Dependencies are inferred from the claim text.