Code reading device and code reading program
AssigneeWingArc1st Inc.
InventorsKo Shimazawa, Kenta Nakayama
Life of this patent
Estimating the term…
Abstract
A code reading device is equipped with a region extracting unit 2, which divides a photographed image of a bar code into a plurality of horizontal areas, and extracts readable regions from the horizontal areas respectively, and a region coupling unit 4, which couples the extracted regions to restore the whole bar code. Even if an unreadable portion occurs in a part of the bar code, a plurality of readable regions are extracted as parts of the barcode and those regions are coupled to restore a bar code the entirety of which can be read. Consequently, it is possible to accurately read a bar code having dirt or containment of illumination light partially.
Claims8
A code reading device comprising:
- a region extracting unit for dividing a photographed image of a bar code into a plurality of horizontal areas and extracting readable regions from the horizontal areas respectively by setting, as a break, a portion in which an area width of a white color exceeds a maximum width of a white line;
- a region coupling unit for coupling the regions extracted by the region extracting unit to restore the whole bar code;
- and
- a decoding unit for decoding the bar code restored by the region coupling unit.
A code reading program for causing a computer to function as:
- region extracting means for dividing a photographed image of a bar code into a plurality of horizontal areas and extracting readable regions from the horizontal areas respectively by setting, as a break, a portion in which an area width of a white color exceeds a maximum width of a white line;
- region coupling means for coupling the regions extracted by the region extracting means to restore the whole bar code;
- and
- decoding means for decoding the bar code restored by the region coupling means.
Dependencies are inferred from the claim text.