9. A method, comprising: determining that a first overall confidence level of a first digital image of a document associated with a document type is less than a threshold value associated with the document type; receiving a second digital image of the document, the digital image including a plurality of black and white pixels arranged in rows; locating at least two predefined portions of the second digital image; calculating an area confidence level for each of the predefined portions of the second digital image as a function of a total number of black pixels located in the predefined portion relative to an expected number of black pixels for the predefined portion; calculating a text confidence level as a function of a total number of pixel groups relative to a total number of characters, wherein each pixel group comprises a set of touching black pixels and each character comprises one or more pixel groups, wherein calculating the text confidence level comprises: subtracting the total number of characters from the total number of pixel groups to produce a first quantity, dividing the first quantity by the total number characters to produce a second quantity, and subtracting the second quantity from 1 to produce a text confidence level, and if the text confidence level is negative, setting the text confidence level equal to 0; calculating an image profile confidence level as a function of a black pixel distribution and a black pixel density; calculating a second overall image confidence level as a function of the area confidence level, the text confidence level, and the image profile confidence level; and storing the second digital image as a result of determining that the second overall image confidence level is greater than or equal to the threshold value.
9. A method, comprising: determining that a first overall confidence level of a first digital image of a document associated with a document type is less than a threshold value associated with the document type; receiving a second digital image of the document, the digital image including a plurality of black and white pixels arranged in rows; locating at least two predefined portions of the second digital image; calculating an area confidence level for each of the predefined portions of the second digital image as a function of a total number of black pixels located in the predefined portion relative to an expected number of black pixels for the predefined portion; calculating a text confidence level as a function of a total number of pixel groups relative to a total number of characters, wherein each pixel group comprises a set of touching black pixels and each character comprises one or more pixel groups, wherein calculating the text confidence level comprises: subtracting the total number of characters from the total number of pixel groups to produce a first quantity, dividing the first quantity by the total number characters to produce a second quantity, and subtracting the second quantity from 1 to produce a text confidence level, and if the text confidence level is negative, setting the text confidence level equal to 0; calculating an image profile confidence level as a function of a black pixel distribution and a black pixel density; calculating a second overall image confidence level as a function of the area confidence level, the text confidence level, and the image profile confidence level; and storing the second digital image as a result of determining that the second overall image confidence level is greater than or equal to the threshold value. 12. The method of claim 9 , wherein calculating the area confidence level comprises: dividing the total number of black pixels in the predefined portion by the expected number of black pixels for the predefined portion to produce a quantity; if the quantity is less than or equal to 1, setting the area confidence level equal to the quantity; and if the quantity is greater than 1, setting the area confidence level equal to 1.