# US 2017/0365061 A1 · Image recognition method and apparatus

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

- Number: US 2017/0365061 A1
- Document ID: US20170365061A1
- Status: Published application
- Kind: A1
- Application number: 15/623,746
- Filed: 2017-06-15
- Published: 2017-12-21
- Earliest claimed: 2016-06-16
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: Shiyao Xiong; Wenfei Jiang; Kaiyan Chu
- Web page: https://patentgrep.com/patent/US20170365061A1

## CPC

- G06V 10/44: Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
- G06T 7/13: Edge detection
- G06T 7/60: Analysis of geometric attributes
- G06V 10/32: Normalisation of the pattern dimensions
- G06V 20/10: Terrestrial scenes (scenes under surveillance with static cameras G06V20/52; scenes perceived from the exterior of a vehicle G06V20/56; scenes perceived from the interior of a vehicle G06V20/59)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An image recognition method is disclosed. The method includes acquiring an image detecting image information and a position of a polygon object included in the image; projecting the image information of the polygon object onto the recognition area based on the position of the polygon object and a position of a recognition area to obtain a projection image; and recognizing the projection image using an image recognition technology to obtain information in the polygon object. Projecting image information of a polygon object onto a recognition area and performing recognition thereon are equivalent to correcting a shape and a position of the polygon object in the recognition area, such that an image after the correction can be recognized. As such, a failure in recognition due to a failure of a position, a shape and the like of a polygon object in a recognition area in fulfilling the recognition requirements is solved.

## Claims

### Claim 1

A method implemented by one or more computing devices, the method comprising:
acquiring an image to be recognized, the image to be recognized having a polygon object;
detecting image information and a position of the polygon object;
projecting the image information of the polygon object onto a recognition area to obtain a projection image based at least in part on the position of the polygon object and a position of the recognition area; and
recognizing the projection image using an image recognition technology to obtain information in the polygon object.

### Claim 2 (depends on 1)

The method of claim 1, wherein detecting the position of the polygon object comprises detecting positions of vertices in the polygon object.

### Claim 3 (depends on 2)

The method of claim 2, wherein projecting the image information of the polygon object onto the recognition area comprises:
generating a projection matrix from the polygon object to the recognition area, based at least in part on the positions of the vertices in the polygon object and positions of vertices in the recognition area; and
projecting the image information of the polygon object onto the recognition area according to the projection matrix to obtain the projection image.

### Claim 4 (depends on 2)

The method of claim 2, wherein detecting the positions of the vertices in the polygon object comprises:
performing edge detection on the image to be recognized to detect edges of the polygon object;
detecting straight edges from the edges of the polygon object; and
determining the positions of the vertices in the polygon object based at least in part on the straight edges.

### Claim 5 (depends on 1)

The method of claim 1, wherein, prior to projecting the image information of the polygon object onto the recognition area, the method further comprises:
detecting whether the polygon object is an N-polygon; and
projecting the image information of the polygon object onto the recognition area if affirmative, wherein N is a sum of a number of straight edges of the recognition area.

### Claim 6 (depends on 1)

The method of claim 1, wherein the polygon object is an object obtained after an original object is deformed, the projection image is a rectification image of the image to be recognized, the rectification image having the original object after correction.

### Claim 7 (depends on 6)

The method of claim 6, wherein recognizing the projection image comprise recognizing the rectification image using the image recognition technology to obtain information in the original object.

### Claim 8 (depends on 1)

The method of claim 1, wherein acquiring the image to be recognized comprises:
displaying one or more images to a user, and acquiring an image selected by the user to serve as the image to be recognized from the one or more displayed images; or
acquiring an image collected by an image collection device to serve as the image to be recognized.

### Claim 9 (depends on 1)

The method of claim 1, further comprising determining that recognition performed on the image to be recognized using the image recognition technology fails prior to acquiring the image to be recognized.

### Claim 10

An apparatus comprising:
one or more processors;
memory;
a detection unit stored in the memory and executable by the one or more processors to detect image information and a position of a polygon object included in an image to be recognized;
a projection unit stored in the memory and executable by the one or more processors to project the image information of the polygon object onto the recognition area based at least in part on the position of the polygon object and a position of a recognition area to obtain a projection image; and
a recognition unit stored in the memory and executable by the one or more processors to recognize the projection image using an image recognition technology to obtain information in the polygon object.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the detection unit is configured to detect positions of vertices of the polygon object.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the projection unit is configured to generate a projection matrix from the polygon object to the recognition area based at least in part on the positions of the vertices of the polygon object and positions of vertices of the recognition area, and project the image information of the polygon object onto the recognition area according to the projection matrix to obtain the projection image.

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein the detection unit is further configured to perform edge detection on the image to be recognized to detect edges of the polygon object, detect straight edges from the edges of the polygon object, and determine the positions of the vertices of the polygon object based at least in part on the straight edges.

### Claim 14 (depends on 10)

The apparatus of claim 10, wherein the detection unit is further configured to detect whether the polygon object is an N-polygon, and notify the projection unit to project the image information of the polygon object onto the recognition area if affirmative, wherein N is a sum of a number of straight edges of the recognition area.

### Claim 15 (depends on 10)

The apparatus of claim 10, wherein the polygon object is an object after an original object is deformed, the projection image is a rectification image of the image to be recognized, the rectification image having the original object after correction, and wherein the recognition unit is configured to recognize the rectification image using the image recognition technology to obtain information in the original object.

### Claim 16 (depends on 10)

The apparatus of claim 10, further comprising an acquisition unit is configured to acquire the image to be recognized, the acquisition unit acquires the image to be recognized by at least one of:
displaying one or more images to a user via a display device, and acquire an image selected by the user to serve as the image to be recognized from the one or more displayed images; or
acquiring an image collected by an image collection device to serve as the image to be recognized.

### Claim 17 (depends on 16)

The apparatus of claim 16, further comprising a determination unit configured to determine that recognition performed on the image to be recognized using the image recognition technology fails before the acquisition unit acquires the image to be recognized.

### Claim 18

One or more computer-readable media storing executable instructions that, when executed by one or more processors, cause the one or more processors to perform acts comprising:
detecting image information and a position of a polygon object included in an image to be recognized;
projecting the image information of the polygon object onto a recognition area to obtain a projection image based at least in part on the position of the polygon object and a position of the recognition area; and
recognizing the projection image using an image recognition technology to obtain information in the polygon object.

### Claim 19 (depends on 18)

The one or more computer-readable media of claim 18, wherein detecting the position of the polygon object comprises detecting positions of vertices in the polygon object, and wherein projecting the image information of the polygon object onto the recognition area comprises:
generating a projection matrix from the polygon object to the recognition area, based at least in part on the positions of the vertices in the polygon object and positions of vertices in the recognition area; and
projecting the image information of the polygon object onto the recognition area according to the projection matrix to obtain the projection image.

### Claim 20 (depends on 18)

The one or more computer-readable media of claim 18, further comprising acquiring the image to be recognized by at least one of:
displaying one or more images to a user via a display device, and acquire an image selected by the user to serve as the image to be recognized from the one or more displayed images; or
acquiring an image collected by an image collection device to serve as the image to be recognized.
