Reduction of glare in imaging documents
Abstract
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for obtaining a first image of a document, the first image including first glare shown on a first portion of the document. Detecting, in the first image, the first glare shown on the first portion of the document. In response to detecting the first glare in the first image, obtaining a second image of the document, the second image including second glare shown on a second portion of the document. Generating, from the first image and the second image, a third image of the document that includes less glare than the first glare in the first image and less glare than the second glare in the second image.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A non-volatile computer-readable medium storing instructions, which when executed by a processor, cause the processor to:
detect a first glare in a first image of a document, the glare in a first portion of the document; in response to detecting the first glare, obtain a second image of the document, the second image including a second glare in a second portion of the document; and generate a third image of the document from the first image and the second image, the third image including a third glare less than the first glare and the second glare, the generating of the third image comprising:
generating a first glare map from the first image, the first glare map indicating a location of the first portion of the document;
registering the second image to the first image to provide a registered image;
generating a second glare map from the registered image, the second glare map indicating a location of the second portion; and
providing the third image from the first image and the registered image based on the first glare map and the second glare map.
2 . The non-volatile computer-readable medium of claim 1 , the instructions further causing the processor to:
in response to detecting the first glare, provide an indication on a display to obtain the second image.
3 . The non-volatile computer-readable medium of claim 1 , wherein obtaining the second image comprises capturing a stream of multiple images, wherein the second image is one of the multiple images.
4 . The non-volatile computer-readable medium of claim 1 , non-volatile computer-readable medium determine that the third image satisfies a threshold value for a reduction of glare based on a comparison with one or more document templates.
5 . The non-volatile computer-readable medium of claim 1 , wherein the third image is a reconstruction of the first image using a set of pixels from the registered image that do not include the second glare.
6 . The non-volatile computer-readable medium of claim 1 , the instructions further causing the processor to:
in response to determining that the third image includes the third glare, generate a third glare map indicating a location of a third portion of the document that includes the third glare; and obtain a fourth image of the document, the fourth image including a fourth glare in a fourth portion of the document.
7 . The non-volatile computer-readable medium of claim 6 , the instructions further causing the processor to:
register the fourth image to the third image to provide a new registered image; and generate a fourth glare map from the new registered image, the fourth glare map indicating a location of the fourth portion.
8 . The non-volatile computer-readable medium of claim 7 , the instructions further causing the processor to generate a fifth image of the document from the third image and the new registered image based on the third glare map and the fourth glare map, the fifth image including less glare than the third glare and the fourth glare.
9 . A non-volatile computer-readable medium storing instructions, which when executed by a processor, cause the processor to:
detect a first glare in a first image of a document, the glare in a first portion of the document; in response to detecting the first glare in the first image, obtain a second image of the document, the second image including second glare in a second portion of the document; and generate a third image from the first image and the second image, the third image including less glare than the first glare and the second glare, wherein generating the third image comprises:
extracting a first set of features from the first image and a second set of features from the second image; and
providing the third image by populating a document template with the first set of features and the second set of features.
10 . The non-volatile computer-readable medium of claim 9 , the instructions further causing the processor to:
in response to detecting the first glare, provide an indication on a display to obtain a second image of the document.
11 . The non-volatile computer-readable medium of claim 9 , wherein obtaining the second image comprises capturing a stream of multiple images, wherein the second image is one of the multiple images.
12 . The non-volatile computer-readable medium of claim 9 , the instructions further causing the processor to determine that the third image satisfies a threshold value for a reduction of glare based on a comparison with one or more document templates.
13 . The non-volatile computer-readable medium of claim 9 , wherein the document template specifies a location and attribute of each feature of the first set of features and the second set of features.
14 . The non-volatile computer-readable medium of claim 9 , wherein the first set of features and the second set of features comprise at least one of text, an images, or a type of data.
15 . An apparatus comprising:
a processor; and a non-volatile computer-readable medium storing instructions, which when executed by the processor, cause the processor to:
detect a first glare in a first image of a document, the glare in a first portion of the document;
in response to detecting the first glare in the first image, obtain a second image of the document, the second image including second glare in a second portion of the document; and
generate a third image from the first image and the second image, the third image including less glare than the first glare and the second glare, wherein generating the third image comprises:
extracting a first set of features from the first image and a second set of features from the second image; and
providing the third image by populating a document template with the first set of features and the second set of features.
16 . The apparatus of claim 15 , the instructions further causing the processor to:
in response to detecting the first glare, provide an indication on a display to obtain a second image of the document.
17 . The apparatus of claim 15 , wherein obtaining the second image comprises capturing a stream of multiple images, wherein the second image is one of the multiple images.
18 . The apparatus of claim 15 , the instructions further causing the processor to determine that the third image satisfies a threshold value for a reduction of glare based on a comparison with one or more document templates.
19 . The apparatus of claim 15 , wherein the document template specifies a location and attribute of each feature of the first set of features and the second set of features.
20 . The apparatus of claim 15 , wherein the first set of features and the second set of features comprise at least one of text, an images, or a type of data.Join the waitlist — get patent alerts
Track US2020202503A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.