IP Library Granted Patent US 9,818,012
Granted Patent B2
US 9,818,012 · App. 14/953,781 · Granted Nov 14, 2017

Method for barcode detection, barcode detection system, and program therefor

Inventors: Clement D. M. Creusot (Tokyo, JP); Asim Munawar (Verena, JP)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06K7/1443G06K9/00G06K9/3208G06K9/4633
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,818,012
App. No.
14/953,781
Granted
Nov 14, 2017
Kind
B2
Abstract

A method for barcode detection, barcode detection system and program. In method for detecting a barcode, an information processing apparatus executes the steps of: detecting a plurality of blobs from an image; for each detected blob, obtaining imaginary lines bisecting the detected blob perpendicular at the middle of the detected blob, determining at least one cluster of the imaginary lines in a feature space according to slopes and positions of the imaginary lines and grouping the blobs in one cluster to a rectangular shape corresponding to the barcode.

Claims (35)

1. A method for detecting a barcode, comprising:

detecting a plurality of blob regions from an image;

for each detected blob in the blob region, obtaining imaginary lines bisecting the detected blob perpendicular at the middle of the detected blob;

determining at least one cluster of the imaginary lines in a feature space according to slopes and positions of the imaginary lines; and

grouping the blobs in one cluster into a rectangular shape corresponding to the barcode.

2. The method of claim 1 , wherein the method further comprises the step of:

allocating at least one rectangular shape to a blob region corresponding to the barcode and deleting the rectangular shape depending on the size of the barcode before obtaining the imaginary lines.

3. The method of claim 1 , wherein the method further comprises the step of:

refining allocation of the blobs to at least one rectangular shape after the step of grouping by using gaps between the blobs.

4. The method of claim 1 , wherein the step of determining at least one cluster comprises the step of:

applying a Hough transformation to the imaginary lines and generating a feature vector with respect to each of the imaginary lines.

5. The method of claim 1 , wherein the step of determining at least one cluster further comprises the step of:

clustering the feature vectors into at least one cluster depending on distances in the feature space defined in Cartesian coordinate system.

6. A non-transitory computer readable storage medium tangibly embodying a computer readable program code having thereon computer readable instructions which, when implemented, cause a computer device to carry out the steps of a method for detecting a barcode, the method comprising:

detecting a plurality of blob regions from an image;

for each detected blob in the blob region, obtaining imaginary lines bisecting the detected blob perpendicular at the middle of the detected blob;

determining at least one cluster of the imaginary lines in a feature space according to slopes and positions of the imaginary lines; and

grouping the blobs in one cluster to a rectangular shape corresponding to the barcode.

7. The computer readable storage medium according to claim 6 , wherein the method further comprises the step of:

allocating at least one rectangular shape to a blob region corresponding to the barcode and deleting the rectangular shape depending on a size of the barcode before obtaining the imaginary lines.

8. The computer readable storage medium according to claim 6 , wherein the method further comprises the step of:

refining allocation of the blobs to at least one rectangular shape after the step of grouping by using gaps between the blobs.

9. The computer readable storage medium according to claim 6 , wherein the step of determining at least one cluster comprises the step of:

applying a Hough transformation to the imaginary lines and generating a feature vector with respect to each of the imaginary lines.

10. The computer readable storage medium according to claim 6 , wherein the step of determining at least one cluster further comprises the step of:

clustering the feature vectors into at least one cluster depending on distances in the feature space defined in Cartesian coordinate system.

11. A barcode detection system comprising an information processing apparatus, which comprises:

an image storage part comprising a memory, the memory storing an image including at least one barcode;

a blob filtering part for allocating rectangular shapes to the blobs and deleting rectangular shape having height and width ratios depending on a predetermined threshold; and

a clustering part for generating imaginary lines bisecting the blobs by applying Hough transformation to generate feature vectors in a feature space defined in a Cartesian coordinate system and projecting the feature vector to the feature space;

wherein the clustering part clusters the feature vectors depending on a distance in the feature space to cluster the feature vectors into the rectangular shape.

12. The barcode detection system of claim 11 , wherein the information processing apparatus further comprises:

a refining part and the refining part omits the blobs in a particular rectangle shape depending on gaps between the blobs.

13. The barcode detection system of claim 12 , wherein the refining part merges the rectangular shapes into one different rectangular shape depending on minimal and maximal gap lengths of the blobs.

14. The barcode detection system of claim 11 , wherein the image including at least one barcode is received from a network by the information processing apparatus and returned a recognition result to an apparatus connected to the network.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 30, 2015
From: CREUSOT, CLEMENT D. M.; MUNAWAR, ASIM
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 037165/0767 →
Priority Claims (1)
JP 2014-244076 · Dec 2, 2014 · national
Continuity (1)
Related Publication 20160154987A1 · Jun 2, 2016