CPC G06V 20/62 (2022.01) [G06F 18/22 (2023.01); G06V 30/168 (2022.01); G06V 30/10 (2022.01); G06V 2201/02 (2022.01)] | 20 Claims |
1. A processor, comprising:
circuitry configured to calculate a certainty of reading a character, the character being read from a character image, the character being displayed by a segment display and imaged in the character image, the segment display including a plurality of segments, wherein
the circuitry is further configured to perform at least one selected from a group consisting of
first processing of
setting a plurality of determination regions corresponding to the plurality of segments in the character image,
line thinning pixels of the character,
in each of the plurality of determination regions, counting a number of lines and calculating an angle of the line overlapping the determination region, and
calculating a first score using the counted number of lines and the calculated angle of the line,
second processing of extracting, from the pixels of the character, pixels matching a mask, and calculating a second score based on a match ratio between the pixels of the character and the extracted pixels, the mask being preset,
third processing of calculating a third score based on a ratio of a length of the character image in a first direction and a length of the character image in a second direction, the second direction crossing the first direction, and
fourth processing of detecting an existence or absence of a portion of the character in each of the plurality of determination regions, and calculating a fourth score based on a comparison result between the detected result and patterns, the patterns being preset, and
the circuitry is further configured to calculate the certainty using at least one selected from a group consisting of the first score, the second score, the third score, and the fourth score.
|