Patent ID: 11876945
Assignee: MOBILE DRIVE NETHERLANDS B.V.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 5:
6. A shadow removing device comprising:
at least one processor; and
a data storage storing one or more programs which when executed by the at least one processor, cause the at least one processor to:
train a shadow prediction model based on sample documents of a sample library, wherein training features of each of the sample documents comprises a background color of each of the sample documents and a shadow mask of each of the sample documents, the background color is equivalent to a mask that has color and covers a whole area of each of the sample documents, wherein the shadow mask comprises a shadow region and a shadow intensity, the sample library comprises a plurality of first sample documents with shadows and a plurality of second sample documents without shadows, and each of the first sample documents is generated by adding the background color and the shadow mask into each of the second sample documents;
input the background color and the shadow mask of each of the sample documents extracted by the shadow prediction model into a predetermined shadow removing network for training to obtain a shadow removing model;
obtain a background color and a shadow mask of an object document through the shadow prediction model; and
input the background color and the shadow mask of the object document into the shadow removing model to remove a shadow of the object document.