Reading system, reading method, storage medium, and moving body
AssigneeKabushiki Kaisha Toshiba
InventorsToshikazu Taki, Tsubasa Kusaka
Life of this patent
Estimating the term…
Abstract
According to one embodiment, a reading system includes a processing device. The processing device includes an extractor, a line thinner, a setter, and an identifier. The extractor extracts a partial image from an input image. A character of a segment display is imaged in the partial image. The segment display includes a plurality of segments. The line thinner thins a cluster of pixels representing a character in the partial image. The setter sets, in the partial image, a plurality of determination regions corresponding respectively to the plurality of segments. The identifier detects a number of pixels included in the thinned cluster for each of the plurality of determination regions, and identifies the character based on a detection result.
Claims25
A reading system, comprising:
- a processing device including:
- an acceptor accepting an image in which a segment display is imaged, the segment display including a plurality of segments, a numeral being displayed by at least part of the plurality of segments;
- a pre-processor performing at least preprocessing of the image, the preprocessing including binary processing of binarizing the image into a first color and a second color;
- an extractor assigning a value to a cluster of pixels of the first color in the binarized image and extracting a partial image from the preprocessed image by cutting out the cluster, the cluster in the partial image representing the numeral, wherein the partial image is a rectangle made of a plurality of pixels arranged in a first direction and in a second direction crossing the first direction;
- a line thinner thinning the cluster of pixels representing the numeral in the partial image;
- a setter setting, in the partial image, a plurality of determination regions corresponding respectively to the plurality of segments, wherein the setter sets a first portion of the plurality of determination regions to be arranged along the first direction, and sets a second portion of the plurality of determination regions to be arranged along the second direction, wherein a number of the plurality of determination regions is equal to a number of the segments used to display any single numeral in the segment display;
- and
- an identifier detecting a number of pixels included in the thinned cluster for each of the plurality of determination regions, and identifying the numeral based on a detection result.
A reading method, comprising:
- accepting an image in which a segment display is imaged, the segment display including a plurality of segments, a numeral being displayed by at least part of the plurality of segments;
- preprocessing of the image, the preprocessing including binary processing of binarizing the image into a first color and a second color;
- assigning a value to a cluster of pixels of the first color in the binarized image, the cluster representing the numeral;
- extracting a partial image from the preprocessed image by cutting out the cluster, wherein the partial image is a rectangle made of a plurality of pixels arranged in a first direction and in a second direction crossing the first direction;
- thinning the cluster of pixels representing the numeral in the partial image;
- setting, in the partial image, the plurality of determination regions corresponding respectively to the plurality of segments, wherein a first portion of the plurality of determination regions is set to be arranged along the first direction, and a second portion of the plurality of determination regions is set to be arranged along the second direction, wherein a number of the plurality of determination regions is equal to a number of the segments used to display any single numeral in the segment display;
- and
- determining a number of pixels included in the thinned cluster for each of the plurality of determination regions, and identifying the numeral based on a determination result.
A non-transitory computer-readable storage medium storing a program causing a processing device to:
- accept an image in which a segment display is imaged, the segment display including a plurality of segments, a numeral being displayed by at least part of the plurality of segments;
- preprocess the image, the preprocess including binary processing of binarizing the image into a first color and a second color;
- assign a value to a cluster of pixels of the first color in the binarized image, the cluster representing the numeral;
- extract a partial image from the preprocessed image by cutting out the cluster, wherein the partial image is a rectangle made of a plurality of pixels arranged in a first direction and in a second direction crossing the first direction;
- thin the cluster of pixels representing the numeral in the partial image;
- set, in the partial image, a plurality of determination regions corresponding respectively to the plurality of segments, wherein a first portion of the plurality of determination regions is set to be arranged along the first direction, and a second portion of the plurality of determination regions is set to be arranged along the second direction, wherein a number of the plurality of determination regions is equal to a number of the segments used to display any single numeral in the segment display;
- and
- determine a number of pixels included in the thinned cluster for each of the plurality of determination regions, and identify the numeral based on a determination result.
A mechanical moving body moving through a prescribed region where a segment display including a plurality of segments is provided, the segment display including a plurality of segments, a numeral being displayed by at least part of the plurality of segments, the moving body having an imaging device mounted to the moving body, the moving body comprising:
- a processing device receiving an image of the segment display imaged by the imaging device,
- the processing device including:
- a pre-processor performing at least preprocessing of the input image, the preprocessing including binary processing of binarizing the input image into a first color and a second color;
- an extractor assigning a value to a cluster of pixels of the first color in the binarized image and extracting a partial image from the preprocessed image by cutting out the cluster, the cluster in the partial image representing the numeral, wherein the partial image is a rectangle made of a plurality of pixels arranged in a first direction and in a second direction crossing the first direction;
- a line thinner thinning the cluster of pixels representing the numeral in the partial image;
- a setter setting, in the partial image, a plurality of determination regions corresponding respectively to the plurality of segments, wherein the setter sets a first portion of the plurality of determination regions to be arranged along the first direction, and sets a second portion of the plurality of determination regions to be arranged along the second direction, wherein a number of the plurality of determination regions is equal to a number of the segments used to display any single numeral in the segment display;
- and
- an identifier detecting a number of pixels included in the thinned cluster for each of the plurality of determination regions, and identifying the numeral based on a detection result.
Dependencies are inferred from the claim text.