Automatic camera adjustment for text documents
View Patent ↗For automatically adjusting camera settings responsive to photographic subject matter, an apparatus is disclosed. The apparatus includes an image sensor, a processor, an image module that receives sensor input of photographic subject matter, a subject matter module that identifies a nature of the photographic subject matter, and a configuration module that alters a camera setting, in response to determining the nature of the photographic subject matter. In some embodiments, the apparatus also includes an image center module that identifies a central region of the sensor input, wherein the subject matter module performs, on the central region of the sensor input, one or more analyzes selected from the group consisting of: optical character recognition, facial recognition, color distribution analysis, and light level analysis.
1. An apparatus comprising:
an image sensor;
a processor;
an image module that receives sensor input of photographic subject matter;
a subject matter module that determines whether a nature of the photographic subject matter is text;
a configuration module that dynamically selects a lowest number of pixels required to recognize text in the photographic subject matter and alters one or more camera settings to capture a low-fidelity photograph having the lowest number of pixels required to recognize text in the text document, in response to the nature of the photographic subject matter being text,
wherein the image sensor captures the low-fidelity photograph using the altered one or more camera settings,
wherein the image module, the subject matter module, and the configuration module each comprise one or more of a hardware circuit, a programmable logic device, and executable code, the executable code stored on one or more non-transitory computer readable storage media.
2. The apparatus of claim 1 , further comprising a manual event module that receives a shutter input, wherein the subject matter module determines whether the nature of the photographic subject matter is text in response to the manual event module receiving the shutter input, wherein the manual event module comprises one or more of a hardware circuit, a programmable logic device, and executable code, the executable code stored on one or more non-transitory computer readable storage media.
3. The apparatus of claim 1 , further comprising an automatic event module that receives an auto-focus indication, wherein the subject matter module determines whether the nature of the photographic subject matter is text in response to receiving the auto-focus indication, wherein the automatic event module comprises one or more of a hardware circuit, a programmable logic device, and executable code, the executable code stored on one or more non-transitory computer readable storage media.
4. The apparatus of claim 1 , wherein dynamically selecting a lowest number of pixels required to recognize text in the photographic subject matter comprises:
reducing a number of pixels captured by the image module by an initial amount and determines whether text in the sensor input is computer readable,
reducing the number of pixels captured by the image module by an additional amount in response to the text document being computer readable, and
increasing the number of pixels captured by the image module in response to the text not being computer readable.
5. The apparatus of claim 1 , further comprising a user notification module that prompts a user to allow alteration of the camera setting to capture a low-fidelity photograph, wherein the configuration module alters the camera setting to capture a low-fidelity photograph in response to the user allowing alteration of the camera setting to capture a low-fidelity photograph, wherein the user notification module comprises one or more of a hardware circuit, a programmable logic device, and executable code, the executable code stored on one or more non-transitory computer readable storage media.
6. The apparatus of claim 1 , further comprising an image center module that identifies a central region of the sensor input, wherein determining whether a nature of the photographic subject matter is text comprises the subject matter module performing, on the central region of the sensor input, one or more analyses selected from the group consisting of: optical character recognition, facial recognition, color distribution analysis, and light level analysis, wherein the image center module comprises one or more of a hardware circuit, a programmable logic device, and executable code, the executable code stored on one or more non-transitory computer readable storage media.
7. A method comprising:
receiving, by use of a processor, sensor input of photographic subject matter;
determining, by use of a processor, whether a nature of the photographic subject matter is a text document; and
altering, by use of a processor, one of an image property for fidelity and a camera setting for fidelity to capture a low-fidelity photograph, in response to the nature of the photographic subject matter being a text document,
wherein altering one of an image property for fidelity and a camera setting for fidelity to capture a low-fidelity photograph comprises dynamically selecting a lowest number of pixels required to recognize text in the text document.
8. The method of claim 7 , further comprising receiving a shutter input, wherein determining whether the nature of the photographic subject matter is a text document is performed in response to receiving the shutter input.
9. The method of claim 7 , further comprising receiving an auto-focus indication, wherein determining whether the nature of the photographic subject matter is a text document is performed in response to receiving the auto-focus indication.
10. The method of claim 7 , further comprising:
prompting a user to allow alteration of the one of an image property for fidelity and a camera setting for fidelity to capture a low-fidelity photograph, in response to the nature of the photographic subject matter being a text document; and
altering one of an image property for fidelity and a camera setting for fidelity to capture a low-fidelity photograph, in response to the user allowing alteration of the one of an image property for fidelity and a camera setting for fidelity to capture a low-fidelity photograph.
11. The method of claim 7 , wherein altering one of an image property for fidelity and a camera setting for fidelity to capture a low-fidelity photograph comprises reducing a number of pixels included in captured image data.
12. The method of claim 7 , wherein dynamically selecting a lowest number of pixels required to recognize text in the text document comprises:
reducing the number of pixels included in captured image data by an initial amount;
determining whether the text document is computer readable;
reducing the number of pixels included in captured image data by an additional amount in response to the text document being computer readable; and
increasing the number of pixels included in captured image data in response to the text document not being computer readable.
13. The method of claim 7 , wherein determining whether the nature of the photographic subject matter is a text document comprises:
performing optical character recognition on at least a portion of the sensor input; and
identifying the photographic subject matter as being a text document in response to successfully recognizing characters in the sensor input.
14. The method of claim 13 , wherein performing optical character recognition on at least a portion of the sensor input comprises:
identifying a central region of the sensor input; and
performing optical character recognition on the central region.
15. The method of claim 7 , wherein altering one of an image property for fidelity and a camera setting for fidelity to capture a low-fidelity photograph further comprises altering an image property selected from the group consisting of: an image color depth, an image color scheme, and an image file size.
16. The method of claim 7 , wherein altering one of an image property for fidelity and a camera setting for fidelity to capture a low-fidelity photograph further comprises altering a camera setting selected from the group consisting of: an image color depth, a camera color setting, an output file size, and an output file type.
17. The method of claim 7 , wherein determining whether the nature of the photographic subject matter is a text document comprises performing, on at least a portion of the sensor input, one or more analyses selected from the group consisting of: facial recognition, color distribution analysis, and light level analysis.
18. A program product comprising a non-transitory computer readable storage medium that stores code executable by a processor to perform:
receiving sensor input of photographic subject matter via an image sensor;
prompting a user to allow alteration of an image property for image size;
determining whether a nature of the photographic subject matter is text, in response to the user allowing alteration of the image property for image size;
reducing the number of pixels included in captured image data by an initial amount in response to determining that the nature of the photographic subject matter is text;
determining whether the text is computer readable;
reducing the number of pixels included in captured image data by an additional amount in response to the text being computer readable; and
increasing the number of pixels included in captured image data in response to the text not being computer readable.
19. The program product of claim 18 , the code further comprising identifying a central region of the sensor input, wherein determining whether a nature of the photographic subject matter is text comprises performing, on the central region of the sensor input, one or more analyses selected from the group consisting of: optical character recognition, facial recognition, color distribution analysis, and light level analysis.
20. The program product of claim 18 , the code further comprising receiving an auto-focus indication, wherein determining whether the nature of the photographic subject matter is a text document is performed in response to receiving the auto-focus indication.