Device and method for performing optical character recognition
First Claim
1. A method of performing character isolation in an optical character recognition process, the method comprising:
- receiving image data representing one or more character columns;
determining a number of black pixels in each of the one or more character columns of the image data;
defining a vertical separation threshold which is a maximum number of black pixels in a column;
dividing the one or more character columns into different pixel groups and groups of excluded columns by excluding any of the one or more character columns with a number of black pixels below the vertical separation threshold;
identifying the pixel group representing the left most character column in the image data;
determining that there are two pixel groups representing the one or more character columns; and
in response to determining that there are two pixel groups representing the one or more character columns, using a predetermined width value for a right most character column in order to identify a right hand boundary of the right most character column.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of performing character isolation in an optical character recognition process, the method comprising receiving image data representing one or more character columns, determining a number of black pixels in each column of the image data, defining a vertical separation threshold which is a maximum number of black pixels in a column, dividing the columns into different pixel groups and groups of excluded columns by excluding any columns with a number of black pixels below the vertical separation threshold, identifying the pixel group representing the left most character column in the image data, determining whether there are one or two pixel groups representing character columns in the image data and, if it is determined that there are two pixel groups representing character columns, using a predetermined width value for a right most character column in order to identify a right hand boundary of the right most character column.
28 Citations
17 Claims
-
1. A method of performing character isolation in an optical character recognition process, the method comprising:
-
receiving image data representing one or more character columns; determining a number of black pixels in each of the one or more character columns of the image data; defining a vertical separation threshold which is a maximum number of black pixels in a column; dividing the one or more character columns into different pixel groups and groups of excluded columns by excluding any of the one or more character columns with a number of black pixels below the vertical separation threshold; identifying the pixel group representing the left most character column in the image data; determining that there are two pixel groups representing the one or more character columns; and in response to determining that there are two pixel groups representing the one or more character columns, using a predetermined width value for a right most character column in order to identify a right hand boundary of the right most character column. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A processor for performing character isolation in an optical character recognition process, the processor configured to:
-
receive image data representing one or more character columns; determine a number of black pixels in each of the one or more character columns of the image data; define a vertical separation threshold which is a maximum number of black pixels in a column; divide the one or more character columns into different pixel groups and groups of excluded columns by excluding any columns with a number of black pixels below the vertical separation threshold; identify the pixel group representing the left most character column in the image data; determine that there are two pixel groups representing character columns; and in response to determining that there are two pixel groups representing character columns, use a predetermined width value for a right most character column in order to identify a right hand boundary of the right most character column. - View Dependent Claims (13, 14)
-
-
15. A supplemental device for attachment to an injection device, the supplemental device comprising:
-
an imaging arrangement configured to capture an image of one or more numbers present on a moveable component of the injection device; and a processor configured to; receive image data representing one or more character columns; determine a number of black pixels in each of the one or more character columns of the image data; define a vertical separation threshold which is a maximum number of black pixels in a column; divide the one or more character columns into different pixel groups and groups of excluded columns by excluding any columns with a number of black pixels below the vertical separation threshold; identify the pixel group representing the left most character column in the image data; determine whether there are one or two pixel groups representing character columns in the image data; determine that there are two pixel groups representing character columns; and in response to determining that there are two pixel groups representing character columns, use a predetermined width value for a right most character column in order to identify a right hand boundary of the right most character column. - View Dependent Claims (16, 17)
-
Specification