Method and system for recognizing information on a card
First Claim
Patent Images
1. A method for recognizing information, comprising:
- locating, using one or more processors, a card zone for each frame within a card image frame sequence comprising a plurality of frames;
locating, using the one or more processors, an information zone within each card zone;
dividing, using the one or more processors, each information zone into at least one character zone;
de-blurring, using the one or more processors, a character zone corresponding to a same region across all the frames in the card image frame sequence, wherein the de-blurring of the character zone comprises;
for character zones corresponding to a same region across all the frames in the image frame sequence, calculating a clarity of a first character zone, comprising;
obtaining an intensity value of each pixel in the first character zone based on horizontal and vertical gradient features of the each pixel within the first character zone, comprising;
multiplying a first grayscale value of a first pixel in the first character zone with a corresponding first element of a matrix to obtain a first intensity value of the first pixel;
multiplying a second grayscale value of a second pixel in the first character zone with a corresponding second element of the matrix to obtain a second intensity value of the second pixel, the first element being different from the second element;
determining whether the each pixel is located at an edge of the first character zone; and
in the event that the each pixel is located at the edge of the first character zone, adding a supplemental pixel to the edge of the first character zone, the supplemental pixel having a grayscale value of zero; and
determining the clarity of the first character zone based on the first and second intensity values in the first character zone;
selecting as a candidate character zone, the candidate character zone having a highest clarity among the corresponding character zones; and
recognizing, using the one or more processors, character string information based on the de-blurred character zone.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present application relate to a method for recognizing information, a system for recognizing information, and a computer program product for recognizing information. A method for recognizing information is provided. The method includes locating a card zone for each frame within a card image frame sequence comprising a plurality of frames, locating an information zone within each card zone, dividing each information zone into at least one character zone, de-blurring a character zone corresponding to a same region across all the frames in the card image frame sequence, and recognizing character string information based on the de-blurred character zone.
15 Citations
19 Claims
-
1. A method for recognizing information, comprising:
-
locating, using one or more processors, a card zone for each frame within a card image frame sequence comprising a plurality of frames; locating, using the one or more processors, an information zone within each card zone; dividing, using the one or more processors, each information zone into at least one character zone; de-blurring, using the one or more processors, a character zone corresponding to a same region across all the frames in the card image frame sequence, wherein the de-blurring of the character zone comprises; for character zones corresponding to a same region across all the frames in the image frame sequence, calculating a clarity of a first character zone, comprising; obtaining an intensity value of each pixel in the first character zone based on horizontal and vertical gradient features of the each pixel within the first character zone, comprising; multiplying a first grayscale value of a first pixel in the first character zone with a corresponding first element of a matrix to obtain a first intensity value of the first pixel; multiplying a second grayscale value of a second pixel in the first character zone with a corresponding second element of the matrix to obtain a second intensity value of the second pixel, the first element being different from the second element; determining whether the each pixel is located at an edge of the first character zone; and in the event that the each pixel is located at the edge of the first character zone, adding a supplemental pixel to the edge of the first character zone, the supplemental pixel having a grayscale value of zero; and determining the clarity of the first character zone based on the first and second intensity values in the first character zone; selecting as a candidate character zone, the candidate character zone having a highest clarity among the corresponding character zones; and recognizing, using the one or more processors, character string information based on the de-blurred character zone. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system for recognizing information, comprising:
-
at least one processor configured to; locate a card zone for each frame within a card image frame sequence comprising a plurality of frames; locate an information zone within each card zone; divide each information zone into at least one character zone; de-blur a character zone corresponding to a same region across all the frames in the card image frame sequence, wherein the de-blurring of the character zone comprises; for character zones corresponding to a same region across all the frames in the image frame sequence, calculate a clarity of a first character zone, comprising; obtain an intensity value of each pixel in the first character zone based on horizontal and vertical gradient features of the each pixel within the first character zone, comprising;
multiply a first grayscale value of a first pixel in the first character zone with a corresponding first element of a matrix to obtain a first intensity value of the first pixel;
multiply a second grayscale value of a second pixel in the first character zone with a corresponding second element of the matrix to obtain a second intensity value of the second pixel, the first element being different from the second element;
determine whether the each pixel is located at an edge of the first character zone; and
in the event that the each pixel is located at the edge of the first character zone, add a supplemental pixel to the edge of the first character zone, the supplemental pixel having a grayscale value of zero; anddetermine the clarity of the first character zone based on the first and second intensity values in the first character zone; select as a candidate character zone, the candidate character zone having a highest clarity among the corresponding character zones; and recognize character string information based on the de-blurred character zone; and a memory coupled to the at least one processor and configured to provide the at least one processor with instructions. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system for recognizing information, comprising:
-
a camera configured to acquire a card image frame sequence comprising a plurality of frames; at least one processor configured to; locate a card zone for each frame within a card image frame sequence; locate an information zone within each card zone; divide each information zone into at least one character zone; de-blur a character zone corresponding to a same region across all the frames in the card image frame sequence, wherein the de-blurring of the character zone comprises; for character zones corresponding to a same region across all the frames in the image frame sequence, calculate a clarity of a first character zone, comprising; obtain an intensity value of each pixel in the first character zone based on horizontal and vertical gradient features of the each pixel within the first character zone, comprising;
multiply a first grayscale value of a first pixel in the first character zone with a corresponding first element of a matrix to obtain a first intensity value of the first pixel;
multiply a second grayscale value of a second pixel in the first character zone with a corresponding second element of the matrix to obtain a second intensity value of the second pixel, the first element being different from the second element;
determine whether the each pixel is located at an edge of the first character zone; and
in the event that the each pixel is located at the edge of the first character zone, add a supplemental pixel to the edge of the first character zone, the supplemental pixel having a grayscale value of zero; anddetermine the clarity of the first character zone based on the first and second intensity values in the first character zone; select as a candidate character zone, the candidate character zone having a highest clarity among the corresponding character zones; and recognize character string information based on the de-blurred character zone; and a memory coupled to the at least one processor and configured to provide the at least one processor with instructions; and a display configured to display the recognized character string information. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. A computer program product for recognizing information, the computer program product being embodied in a tangible non-transitory computer readable storage medium and comprising computer instructions for:
-
locating a card zone for each frame within a card image frame sequence comprising a plurality of frames; locating an information zone within each card zone; dividing each information zone into at least one character zone; de-blurring a character zone corresponding to a same region across all the frames in the card image frame sequence, wherein the de-blurring of the character zone comprises; for character zones corresponding to a same region across all the frames in the image frame sequence, calculating a clarity of a first character zone, comprising; obtaining an intensity value of each pixel in the first character zone based on horizontal and vertical gradient features of the each pixel within the first character zone, comprising; multiplying a first grayscale value of a first pixel in the first character zone with a corresponding first element of a matrix to obtain a first intensity value of the first pixel; multiplying a second grayscale value of a second pixel in the first character zone with a corresponding second element of the matrix to obtain a second intensity value of the second pixel, the first element being different from the second element; determining whether the each pixel is located at an edge of the first character zone; and in the event that the each pixel is located at the edge of the first character zone, adding a supplemental pixel to the edge of the first character zone, the supplemental pixel having a grayscale value of zero; and determining the clarity of the first character zone based on the first and second intensity values in the first character zone; selecting as a candidate character zone, the candidate character zone having a highest clarity among the corresponding character zones; and recognizing character string information based on the de-blurred character zone.
-
Specification