# US 10,762,345 B2 · Method and device for acquiring text data from trademark image, computer device and storage medium

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

- Number: US 10,762,345 B2
- Document ID: US10762345B2
- Status: Granted
- Kind: B2
- Application number: 16/032,486
- Filed: 2018-07-11
- Published: 2019-02-28
- Granted: 2020-09-01
- Earliest claimed: 2017-08-25
- Assignees: Baidu Online Network Technology (Beijing) Co., Ltd.
- Applicants: Baidu Online Network Technology (Beijing) Co., Ltd.
- Inventors: Shufu Xie; Yuning Du; Guang Li; Shanshan Liu; Chenxia Li
- Web page: https://patentgrep.com/patent/US10762345B2

## CPC

- G06V 20/62: Text, e.g. of license plates, overlay texts or captions on TV images
- G06F 16/5846: {using extracted text}
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 30/413: Classification of content, e.g. text, photographs or tables
- G06V 2201/09: Recognition of logos
- G06V 2201/10: Recognition assisted with metadata
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure provides a method and for acquiring text data of a trademark image, a computer device and a non-transitory computer readable storage medium. The method includes the followings. A trademark database including one or more mappings among trademark feature information, trademark description information and trademark text information is established. A to-be-processed image including image description information is acquired. Trademark feature information corresponding to the to-be-processed image is determined. The trademark text information corresponding to the trademark feature information as the text data of the trademark image corresponding to the to-be-processed image according to the one or more mappings in the trademark database when the trademark description information corresponding to the trademark feature information corresponding to the to-be-processed image is contained in the image description information corresponding to the to-be-processed image.

## Claims

### Claim 1

A method for acquiring text data of a trademark image, comprising:
x, establishing a trademark database, wherein the trademark database comprises one or more mappings among trademark feature information, trademark description information and trademark text information;
wherein the method further comprises:
a, acquiring a to-be-processed image from a page, and determining image description information of the to-be-processed image from page information of the page, wherein the image description information comprises text information contained in the page information;
b, determining trademark feature information corresponding to the to-be-processed image; and
c, according to the one or more mappings in the trademark database, when trademark description information corresponding to the trademark feature information corresponding to the to-be-processed image is contained in the image description information, determining trademark text information corresponding to the trademark feature information corresponding to the to-be-processed image as text data of the trademark image corresponding to the to-be-processed image.

### Claim 2 (depends on 1)

The method according to claim 1, wherein step a further comprises:
determining one or more similar images corresponding to the to-be-processed image according to the to-be-processed image; and
determining the image description information of the to-be-processed image according to the image description information corresponding to the one or more similar images.

### Claim 3 (depends on 1)

The method according to claim 1, wherein step b comprises:
performing an object detection on the to-be-processed image, to determine a trademark position on the to-be-processed image; and
determining the trademark feature information corresponding to the trademark position.

### Claim 4 (depends on 3)

The method according to claim 3, wherein step c comprises:
according to the one or more mappings in the trademark database, when the trademark description information corresponding to the trademark feature information corresponding to the to-be-processed image is contained in the image description information, determining the trademark text information corresponding to the trademark feature information corresponding to the to-be-processed image as the text data of the trademark image corresponding to the trademark position on the to-be-processed image.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
r, determining the trademark image corresponding to the to-be-processed image and the text data corresponding to the trademark image as training data.

### Claim 6 (depends on 5)

The method according to claim 5, wherein step r comprises:
only when the text data of the trademark image corresponding to the to-be-processed image is a nonempty set, determining the trademark image corresponding to the to-be-processed image and the text data corresponding to the trademark image as the training data.

### Claim 7

A computer device, comprising:
one or more processors;
a memory, configured to store one or more computer programs;
wherein when the one or more computer programs are executed by the one or more processors, a method for acquiring text data of a trademark image is executed by the one or more processors, the method comprises:
x, establishing a trademark database, wherein the trademark database comprises one or more mappings among trademark feature information, trademark description information and trademark text information;
a, acquiring a to-be-processed image from a page, and determining image description information of the to-be-processed image from page information of the page, wherein the image description information comprises text information contained in the page information;
b, determining trademark feature information corresponding to the to-be-processed image; and
c, according to the one or more mappings in the trademark database, when trademark description information corresponding to the trademark feature information corresponding to the to-be-processed image is contained in the image description information, determining trademark text information corresponding to the trademark feature information corresponding to the to-be-processed image as text data of the trademark image corresponding to the to-be-processed image.

### Claim 8 (depends on 7)

The computer device according to claim 7, wherein step a further comprises:
determining one or more similar images corresponding to the to-be-processed image according to the to-be-processed image; and
determining the image description information of the to-be-processed image according to the image description information corresponding to the one or more similar images.

### Claim 9 (depends on 7)

The computer device according to claim 7, wherein step b comprises:
performing an object detection on the to-be-processed image, to determine a trademark position on the to-be-processed image; and
determining the trademark feature information corresponding to the trademark position.

### Claim 10 (depends on 9)

The computer device according to claim 9, wherein step c comprises:
according to the one or more mappings in the trademark database, when the trademark description information corresponding to the trademark feature information corresponding to the to-be-processed image is contained in the image description information, determining the trademark text information corresponding to the trademark feature information corresponding to the to-be-processed image as the text data of the trademark image corresponding to the trademark position on the to-be-processed image.

### Claim 11 (depends on 7)

The computer device according to claim 7, further comprising:
r, determining the trademark image corresponding to the to-be-processed image and the text data corresponding to the trademark image as training data.

### Claim 12 (depends on 11)

The computer device according to claim 11, wherein step r comprises:
only when the text data of the trademark image corresponding to the to-be-processed image is a nonempty set, determining the trademark image corresponding to the to-be-processed image and the text data corresponding to the trademark image as the training data.

### Claim 13

A non-transitory computer readable storage medium, having computer codes stored therein, when the computer codes are executed, a method for acquiring text data of a trademark image is executed, wherein the method includes:
x, establishing a trademark database, wherein the trademark database comprises one or more mappings among trademark feature information, trademark description information and trademark text information;
wherein the method further comprises:
a, acquiring a to-be-processed image from a page, and determining image description information of the to-be-processed image from page information of the page, wherein the image description information comprises text information contained in the page information;
b, determining trademark feature information corresponding to the to-be-processed image; and
c, according to the one or more mappings in the trademark database, when trademark description information corresponding to the trademark feature information corresponding to the to-be-processed image is contained in the image description information, determining trademark text information corresponding to the trademark feature information corresponding to the to-be-processed image as text data of the trademark image corresponding to the to-be-processed image.

### Claim 14 (depends on 13)

The non-transitory computer readable storage medium according to claim 13, wherein step a further comprises:
determining one or more similar images corresponding to the to-be-processed image according to the to-be-processed image; and
determining the image description information of the to-be-processed image according to the image description information corresponding to the one or more similar images.

### Claim 15 (depends on 13)

The non-transitory computer readable storage medium according to claim 13, wherein step b comprises:
performing an object detection on the to-be-processed image, to determine a trademark position on the to-be-processed image; and
determining the trademark feature information corresponding to the trademark position.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium according to claim 15, wherein step c comprises:
according to the one or more mappings in the trademark database, when the trademark description information corresponding to the trademark feature information corresponding to the to-be-processed image is contained in the image description information, determining the trademark text information corresponding to the trademark feature information corresponding to the to-be-processed image as the text data of the trademark image corresponding to the trademark position on the to-be-processed image.

### Claim 17 (depends on 13)

The non-transitory computer readable storage medium according to claim 13, wherein the method further comprises:
r, determining the trademark image corresponding to the to-be-processed image and the text data corresponding to the trademark image as training data.
