# US 2013/0153662 A1 · Barcode Photo-image Processing System

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0153662 A1
- Document ID: US20130153662A1
- Status: Published application
- Kind: A1
- Application number: 13/532,794
- Filed: 2012-06-26
- Published: 2013-06-20
- Earliest claimed: 2011-12-19
- Assignees: MindTree Limited
- Inventors: Suma Narasa Prakash
- Web page: https://patentgrep.com/patent/US20130153662A1

## CPC

- G06K 7/1486: {Setting the threshold-width for bar codes to be decoded}
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS

## Abstract

A computer implemented method and system for processing a low quality captured image of a barcode of any type having a large amount of data is provided. An image processing application on a computing device acquires the captured image of the barcode, determines the type, for example, format, shape, etc., of the barcode in the acquired image of the barcode, and creates a gray barcode image from the acquired image of the barcode by gray shading over an entirety of the acquired image of the barcode. The image processing application modularizes the created gray barcode image based on the type of the barcode and binarizes the created gray barcode image based on the type of the barcode by comparing an average gray level intensity of each of multiple grids of pixels or by comparing gray level intensities of individual pixels in the created gray barcode image, with a predetermined threshold.

## Claims

### Claim 1

A computer implemented method for processing a captured image of a barcode, said method employing a computer system comprising at least one processor communicatively coupled to a non-transitory computer readable storage medium that stores instructions executable by said at least one processor, said at least one processor configured to implement said method, said method comprising:
providing an image processing application on a computing device;
acquiring said captured image of said barcode by said image processing application, wherein said barcode is of a plurality of types and comprises a large amount of data, and wherein said captured image of said barcode is of low quality;
determining a type of said barcode in said acquired image of said barcode by said image processing application;
creating a gray barcode image from said acquired image of said barcode by said image processing application, by gray shading over an entirety of said acquired image of said barcode;
modularizing said created gray barcode image by said image processing application based on said determined type of said barcode; and
binarizing said created gray barcode image by said image processing application based on said determined type of said barcode by one of comparing an average gray level intensity of each of a plurality of grids of pixels in said created gray barcode image and comparing a gray level intensity of each of individual pixels in said created gray barcode image, with a predetermined threshold.

### Claim 2 (depends on 1)

The computer implemented method of claim 1, further comprising scaling said entirety of said acquired image of said barcode by said image processing application to create a scaled barcode image prior to said creation of said gray barcode image, wherein said gray barcode image is created by gray shading over an entirety of said scaled barcode image.

### Claim 3 (depends on 1)

The computer implemented method of claim 1, further comprising computing said gray level intensity of said each of said individual pixels in said created gray barcode image and comparing said computed gray level intensity with said predetermined threshold based on said determined type of said barcode by said image processing application, wherein said created gray barcode image is binarized by said image processing application based on said comparison of said computed gray level intensity of said each of said individual pixels in said created gray barcode image with said predetermined threshold depending on said determined type of said barcode.

### Claim 4 (depends on 1)

The computer implemented method of claim 1, further comprising computing said average gray level intensity of each of said grids of said pixels in said created gray barcode image and comparing said computed average gray level intensity with said predetermined threshold based on said determined type of said barcode by said image processing application, wherein said created gray barcode image is binarized by said image processing application based on said comparison of said computed average gray level intensity of said each of said grids of said pixels in said created gray barcode image with said predetermined threshold depending on said determined type of said barcode.

### Claim 5 (depends on 1)

The computer implemented method of claim 1, further comprising configuring a grid size for said modularization of said created gray barcode image based on predetermined criteria by said image processing application.

### Claim 6 (depends on 1)

The computer implemented method of claim 1, wherein said captured image of said barcode is of said low quality with respect to image resolution, noise, and distortion.

### Claim 7 (depends on 1)

The computer implemented method of claim 1, wherein said data in said barcode comprises one or more of textual content, image content, graphical content, and any combination thereof.

### Claim 8 (depends on 1)

The computer implemented method of claim 1, wherein said type of said barcode comprises one of a shape of said barcode, a format of said barcode, and a combination thereof.

### Claim 9 (depends on 8)

The computer implemented method of claim 8, wherein said shape of said barcode is one of a linear shape and a quadra-shape.

### Claim 10 (depends on 8)

The computer implemented method of claim 8, wherein said format of said barcode is one of a one-dimensional barcode format and a two-dimensional barcode format.

### Claim 11 (depends on 1)

The computer implemented method of claim 1, wherein said modularization of said created gray barcode image by said image processing application is performed when said determined type of said barcode is of a quadra-shape.

### Claim 12 (depends on 1)

The computer implemented method of claim 1, wherein said image processing application binarizes said modularized gray barcode image when said determined type of said barcode is of a quadra-shape.

### Claim 13 (depends on 1)

The computer implemented method of claim 1, wherein said image processing application binarizes said created gray barcode image when said determined type of said barcode is of a linear shape.

### Claim 14 (depends on 1)

The computer implemented method of claim 1, further comprising preserving a rest zone around said barcode by said image processing application during said modularization and said binarization of said created gray barcode image over said entirety of said created gray barcode image.

### Claim 15 (depends on 1)

The computer implemented method of claim 1, further comprising preserving start points and end points of said barcode by said image processing application during said modularization and said binarization of said created gray barcode image over said entirety of said created gray barcode image.

### Claim 16 (depends on 1)

The computer implemented method of claim 1, further comprising retaining a format and a shape of said barcode by said image processing application for reducing distortion of said format and said shape of said barcode.

### Claim 17 (depends on 1)

The computer implemented method of claim 1, further comprising retaining said large amount of said data in said barcode by said image processing application for preventing corruption of said large amount of said data in said barcode.

### Claim 18

A computer implemented system for processing a captured image of a barcode, said computer implemented system comprising:
at least one processor;
a non-transitory computer readable storage medium communicatively coupled to said at least one processor, said non-transitory computer readable storage medium storing modules of an image processing application of said computer implemented system that are executable by said at least one processor, said image processing application comprising:
an image acquisition module that acquires said captured image of said barcode, wherein said barcode is of a plurality of types and comprises a large amount of data, and wherein said captured image of said barcode is of low quality;
a barcode type determination module that determines a type of said barcode in said acquired image of said barcode;
a gray barcode creation module that creates a gray barcode image from said acquired image of said barcode, by gray shading over an entirety of said acquired image of said barcode;
a modularization module that modularizes said created gray barcode image based on said determined type of said barcode; and
a binarization module that binarizes said created gray barcode image based on said determined type of said barcode by one of comparing an average gray level intensity of each of a plurality of grids of pixels in said created gray barcode image and comparing a gray level intensity of each of individual pixels in said created gray barcode image, with a predetermined threshold.

### Claim 19 (depends on 18)

The computer implemented system of claim 18, wherein said image processing application further comprises a scaling module that scales said entirety of said acquired image of said barcode to create a scaled barcode image prior to said creation of said gray barcode image, wherein said gray barcode creation module creates said gray barcode image by gray shading over an entirety of said scaled barcode image.

### Claim 20 (depends on 18)

The computer implemented system of claim 18, wherein said image processing application further comprises a gray level intensity computation module that computes said gray level intensity of said each of said individual pixels in said created gray barcode image, and compares said computed gray level intensity with said predetermined threshold based on said determined type of said barcode, wherein said binarization module binarizes said created gray barcode image based on said comparison of said computed gray level intensity of said each of said individual pixels in said created gray barcode image with said predetermined threshold depending on said determined type of said barcode.

### Claim 21 (depends on 20)

The computer implemented system of claim 20, wherein said gray level intensity computation module computes an average gray level intensity of each of said grids of said pixels in said created gray barcode image and compares said computed average gray level intensity with said predetermined threshold based on said determined type of said barcode, wherein said binarization module binarizes said created gray barcode image based on said comparison of said computed average gray level intensity of said each of said grids of said pixels in said created gray barcode image with said predetermined threshold depending on said determined type of said barcode.

### Claim 22 (depends on 18)

The computer implemented system of claim 18, wherein said image processing application further comprises a grid size configuration module that configures a grid size for said modularization of said created gray barcode image based on predetermined criteria.

### Claim 23 (depends on 18)

The computer implemented system of claim 18, wherein said captured image of said barcode is of said low quality with respect to image resolution, noise, and distortion.

### Claim 24 (depends on 18)

The computer implemented system of claim 18, wherein said data in said barcode comprises one or more of textual content, image content, graphical content, and any combination thereof.

### Claim 25 (depends on 18)

The computer implemented system of claim 18, wherein said type of said barcode comprises one of a shape of said barcode, a format of said barcode, and a combination thereof, wherein said shape of said barcode is one of a linear shape and a quadra-shape, and wherein said format of said barcode is one of a one-dimensional barcode format and a two-dimensional barcode format.

### Claim 26 (depends on 18)

The computer implemented system of claim 18, wherein said modularization module modularizes said created gray barcode image when said determined type of said barcode is of a quadra-shape.

### Claim 27 (depends on 18)

The computer implemented system of claim 18, wherein said binarization module binarizes said modularized gray barcode image when said determined type of said barcode is of a quadra-shape, and wherein said binarization module binarizes said created gray barcode image when said determined type of said barcode is of a linear shape.

### Claim 28 (depends on 18)

The computer implemented system of claim 18, wherein said image processing application further comprises a barcode maintenance module that performs:
preserving a rest zone around said barcode during said modularization and said binarization of said created gray barcode image over said entirety of said created gray barcode image;
preserving start points and end points of said barcode during said modularization and said binarization of said created gray barcode image over said entirety of said created gray barcode image;
retaining a format and a shape of said barcode for reducing distortion of said format and said shape of said barcode; and
retaining said large amount of said data in said barcode for preventing corruption of said large amount of said data in said barcode.

### Claim 29

A computer program product comprising a non-transitory computer readable storage medium, said non-transitory computer readable storage medium storing computer program codes comprising instructions executable by at least one processor, said computer program codes comprising:
a first computer program code for acquiring a captured image of a barcode, wherein said barcode is of a plurality of types and comprises a large amount of data, and wherein said captured image of said barcode is of low quality;
a second computer program code for determining a type of said barcode in said acquired image of said barcode;
a third computer program code for creating a gray barcode image from said acquired image of said barcode, by gray shading over an entirety of said acquired image of said barcode;
a fourth computer program code for modularizing said created gray barcode image based on said determined type of said barcode; and
a fifth computer program code for binarizing said created gray barcode image based on said determined type of said barcode by comparing one of a computed average gray level intensity of each of a plurality of grids of pixels in said created gray barcode image and a computed gray level intensity of each of said pixels in said created gray barcode image with said predetermined threshold depending on said determined type of said barcode.

### Claim 30 (depends on 29)

The computer program product of claim 29, further comprising a sixth computer program code for scaling said entirety of said acquired image of said barcode to create a scaled barcode image prior to said creation of said gray barcode image, wherein said third computer program code performs said gray shading over an entirety of said scaled barcode image.
