11. A system for enhanced optical character recognition, the system comprising: a logic unit for identifying a sample character in a textual context to be optically recognized; a logic unit for comparing the sample character with a template character, wherein the sample character is scaled into a first grid and the template character is scaled into a second grid; a logic unit for identifying one or more pixels in the sample character within the first grid and one or more pixels in the template character in the second grid, wherein the one or more pixels are identified as belonging to a foreground category in the textual content, a foreground pixel having at least N gradients corresponding to edges of the foreground pixel that are juxtaposed to a neighbor pixel, wherein a contour foreground pixel has at least one gradient that is neighbored by a background pixel in the textual context; identifying one or more template contour pixels in the template character that correspond to at least one sample contour pixel in the sample character, a logic unit for mapping the at least one sample contour pixel to the corresponding template contour pixels such that one or more distances are calculated between the at least one sample contour pixel and the respective one or more template contour pixels; and a logic unit for determining that the sample contour character and the template contour character are a match based on an analysis of the one or more distances.
11. A system for enhanced optical character recognition, the system comprising: a logic unit for identifying a sample character in a textual context to be optically recognized; a logic unit for comparing the sample character with a template character, wherein the sample character is scaled into a first grid and the template character is scaled into a second grid; a logic unit for identifying one or more pixels in the sample character within the first grid and one or more pixels in the template character in the second grid, wherein the one or more pixels are identified as belonging to a foreground category in the textual content, a foreground pixel having at least N gradients corresponding to edges of the foreground pixel that are juxtaposed to a neighbor pixel, wherein a contour foreground pixel has at least one gradient that is neighbored by a background pixel in the textual context; identifying one or more template contour pixels in the template character that correspond to at least one sample contour pixel in the sample character, a logic unit for mapping the at least one sample contour pixel to the corresponding template contour pixels such that one or more distances are calculated between the at least one sample contour pixel and the respective one or more template contour pixels; and a logic unit for determining that the sample contour character and the template contour character are a match based on an analysis of the one or more distances. 12. The system of claim 11 , wherein the analysis of the one or more distances comprises calculating an average value of the cumulative distances between the at least one sample contour pixel and the corresponding template contour pixels.