# US 2022/0292808 A1 · Method and system for identifying empty region in label and placing content thereon

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

- Number: US 2022/0292808 A1
- Document ID: US20220292808A1
- Status: Published application
- Kind: A1
- Application number: 17/680,356
- Filed: 2022-02-25
- Published: 2022-09-15
- Earliest claimed: 2021-03-11
- Assignees: HCL Technologies Limited
- Applicants: HCL Technologies Limited
- Inventors: HARIPRASATH J; NAVEEN SUBRAMANIAN; MURALI KRISHNAAN GAJAPATHY; YUVARAJAN SHANMUGASUNDARAM; NISHAR AHAMED
- Web page: https://patentgrep.com/patent/US20220292808A1

## CPC

- G06V 10/751: {Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching}
- G06V 30/41: Analysis of document content (recognition of printed characters based on code marks G06V30/224)
- G06V 10/757: {Matching configurations of points or features}
- G06V 10/759: {Region-based matching}
- G06V 30/424: Postal images, e.g. labels or addresses on parcels or postal envelopes
- B41J 3/4075: {Tape printers; Label printers}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- B41J: TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS

## Abstract

Method and system for identifying an empty region in a label and placing a content thereon is provided. The method includes processing an image of the label to extract label attribute and the content to retrieve content attribute. Label attribute includes at least one of dimensions of the label, at least one pre-existing content on the label, dimensions associated with pre-existing content, and location of pre-existing content on the label. The content attribute includes a type of content, dimensions of content, a preferred label location associated with content. The method further includes determining at least one empty region within the label, based on extracted label attribute and the retrieved content attribute. Each of the at least one empty region may be configured to accommodate the content. The method further includes inserting the content into one of the at least one empty region based on a predefined rule.

## Claims

### Claim 1

A method for identifying an empty region in a label and placing a content thereon, the method comprising:
processing, by an image processing device, an image of the label to extract at least one label attribute and the content to retrieve at least one content attribute, wherein the image has a predefined ratio relative to the label, and
wherein at least one label attribute comprises at least one of dimensions of the label, at least one pre-existing content on the label, dimensions associated with each of the at least one pre-existing content, and location of each of the at last one pre-existing content on the label, and
wherein the at least one content attribute comprises a type of the content, dimensions of the content, a preferred label location associated with the content;
determining, by the image processing device, at least one empty region within the label based on the extracted at least one label attribute and the retrieved at least one content attribute, and wherein each of the at least one empty region is configured to accommodate the content; and
inserting, by the image processing device, the content into one of the at least one empty region based on a predefined rule.

### Claim 2 (depends on 1)

The method of claim 1, wherein the predefined rule comprises at least one of:
a first empty region from the at least one empty region being the preferred label location associated with the content, wherein the preferred label location is part of metadata linked to the content;
selecting a second empty region closest to the preferred label location associated with the content, when the preferred label location is unavailable within the label; and
labeling guidelines from a regulatory authority for positioning the content within a certain region of the label, based on the type of the content and an end product for affixing the label.

### Claim 3 (depends on 1)

The method of claim 1, wherein the at least one label attribute further comprises pixel values associated with each pixel within the image of the label, and wherein processing the image of the label further comprises extracting the pixel values using a pixel-by-pixel comparison-based algorithm.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining an empty region from the at least one empty region within the label comprises determining a set of contiguous pixels, wherein each pixel in the set of contiguous pixels has a predefined pixel value, and wherein the empty region comprises the set of contiguous pixels.

### Claim 5 (depends on 4)

The method of claim 4, wherein determining at least one empty region comprises:
identifying a set of empty regions in the image of the label;
quantifying dimensions of each of the set of empty regions;
comparing dimensions of each of the set of empty regions with the dimensions of the content; and
identifying the at least one empty region from the set of empty regions, wherein dimensions of each of the at least one empty region is greater than or equal to the dimensions of the content.

### Claim 6 (depends on 5)

The method of claim 5, further comprising modifying the dimensions of the content to match the dimensions of a largest empty region from the at least one empty region, when the dimensions of the content do not match with the dimensions of each of the at least one empty region.

### Claim 7 (depends on 1)

The method of claim 1, wherein the at least one content attribute is retrieved from the content using an image processing algorithm.

### Claim 8 (depends on 1)

The method of claim 1, wherein the at least one content attribute is retrieved from a library of images, and wherein the library of images comprises mapping of a plurality of contents with associated content attributes.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
generating the image of the label from the label; and
converting the image to a size that is of the predefined ratio relative to the label.

### Claim 10 (depends on 1)

The method of claim 1, wherein the type of the content comprises at least one of an icon, a text, an image, an emoji, a logo, or a shape.

### Claim 11

A system for identifying an empty region in a label and placing a content thereon, the system comprising:
a processor; and
a memory communicatively coupled to the processor, wherein the memory stores processor-executable instructions, which, on execution, causes the processor to:
process an image of the label to extract at least one label attribute and the content to retrieve at least one content attribute, wherein the image has a predefined ratio relative to the label, and
wherein at least one label attribute comprises at least one of dimensions of the label, at least one pre-existing content on the label, dimensions associated with each of the at least one pre-existing content, and location of each of the at last one pre-existing content on the label, and
wherein the at least one content attribute comprises a type of the content, dimensions of the content, a preferred label location associated with the content;
determine at least one empty region within the label based on the extracted at least one label attribute and the retrieved at least one content attribute, and wherein each of the at least one empty region is configured to accommodate the content; and
insert the content into one of the at least one empty region based on a predefined rule.

### Claim 12 (depends on 11)

The system of claim 11, wherein the predefined rule comprises at least one of:
a first empty region from the at least one empty region being the preferred label location associated with the content, wherein the preferred label location is part of metadata linked to the content;
selecting a second empty region closest to the preferred label location associated with the content, when the preferred label location is unavailable within the label; and
labeling guidelines from a regulatory authority for positioning the content within a certain region of the label, based on the type of the content and an end product for affixing the label.

### Claim 13 (depends on 11)

The system of claim 11, wherein the at least one label attribute further comprises pixel values associated with each pixel within the image of the label, and wherein processing the image of the label further comprises extracting the pixel values using a pixel-by-pixel comparison-based algorithm.

### Claim 14 (depends on 13)

The system of claim 13, wherein to determine an empty region from the at least one empty region within the label, the processor-executable instructions further cause the processor to determine a set of contiguous pixels, wherein each pixel in the set of contiguous pixels has a predefined pixel value, and wherein the empty region comprises the set of contiguous pixels.

### Claim 15 (depends on 14)

The system of claim 14, wherein to determine at least one empty region, the processor-executable instructions further cause the processor to:
identify a set of empty regions in the image of the label;
quantify dimensions of each of the set of empty regions;
compare dimensions of each of the set of empty regions with the dimensions of the content; and
identify the at least one empty region from the set of empty regions, wherein dimensions of each of the at least one empty region is greater than or equal to the dimensions of the content.

### Claim 16 (depends on 15)

The system of claim 15, wherein the processor-executable instructions further cause the processor to:
modify the dimensions of the content to match the dimensions of a largest empty region from the at least one empty region, when the dimensions of the content does not match with the dimensions of each of the at least one empty region.

### Claim 17 (depends on 11)

The system of claim 11, wherein the at least one content attribute is retrieved from the content using an image processing algorithm.

### Claim 18 (depends on 11)

The system of claim 11, wherein the at least one content attribute is retrieved from a library of images, and wherein the library of images comprises mapping of a plurality of contents with associated content attributes.

### Claim 19 (depends on 11)

The system of claim 11, wherein the processor-executable instructions further cause the processor to:
generate the image of the label from the label; and
convert the image to a size that is of the predefined ratio relative to the label.

### Claim 20 (depends on 11)

The system of claim 11, wherein the type of the content comprises at least one of an icon, a text, an image, an emoji, a logo, or a shape.

### Claim 21

A non-transitory computer-readable medium storing computer-executable instruction for identifying an empty region in a label and placing a content thereon, the computer-executable instructions configured for:
processing an image of the label to extract at least one label attribute and the content to retrieve at least one content attribute, wherein the image has a predefined ratio relative to the label, and
wherein at least one label attribute comprises at least one of dimensions of the label, at least one pre-existing content on the label, dimensions associated with each of the at least one pre-existing content, and location of each of the at last one pre-existing content on the label, and
wherein the at least one content attribute comprises a type of the content, dimensions of the content, a preferred label location associated with the content;
determining at least one empty region within the label based on the extracted at least one label attribute and the retrieved at least one content attribute, and wherein each of the at least one empty region is configured to accommodate the content; and
inserting the content into one of the at least one empty region based on a predefined rule.
