# US 2022/0279241 A1 · Method and device for recognizing images

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

- Number: US 2022/0279241 A1
- Document ID: US20220279241A1
- Status: Published application
- Kind: A1
- Application number: 17/746,842
- Filed: 2022-05-17
- Published: 2022-09-01
- Earliest claimed: 2020-01-21
- Assignees: Beijing Dajia Internet Information Technology Co., Ltd.
- Applicants: Beijing Dajia Internet Information Technology Co., Ltd.
- Inventors: Xuemei SHI; Qiangqiang XU; Hao YANG
- Web page: https://patentgrep.com/patent/US20220279241A1

## CPC

- G06V 10/16: {using multiple overlapping images; Image stitching}
- G06T 3/4038: Image mosaicing, e.g. composing plane images from plane sub-images
- G06T 7/11: Region-based segmentation
- G06T 7/73: using feature-based methods
- G06V 10/22: by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
- G06V 10/267: {by performing operations on regions, e.g. growing, shrinking or watersheds}
- G06V 20/46: {Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames}
- G06V 40/168: {Feature extraction; Face representation}
- H04N 21/2187: Live feed
- H04N 21/4223: Cameras (H04N23/00 takes precedence)
- H04N 21/44008: {involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream (arrangements characterised by components specially adapted for monitoring, identification or recognition of video in broadcast systems H04H60/59)}
- H04N 21/4788: communicating with other users, e.g. chatting {(arrangements for providing for computer conferences, e.g. chat rooms, to substation in data switching networks H04L12/1813; distributed application using peer-to-peer [P2P] networks H04L67/104)}
- H04N 21/8146: {involving graphical data, e.g. 3D object, 2D graphics}
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20021: Dividing image into blocks, subimages or windows
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for recognizing images is provided. The method includes: acquiring a plurality of to-be-recognized images, acquiring a target image by stitching the plurality of to-be-recognized images, acquiring a plurality of first key points of the target image by inputting the target image into an image recognition model, and determining, based on the plurality of first key points, second key points of each of the to-be-recognized images.

## Claims

### Claim 1

A method for recognizing images, applicable to a computer device, the method comprising:
acquiring a plurality of to-be-recognized images;
acquiring a target image by stitching the plurality of to-be-recognized images;
acquiring a plurality of first key points of the target image by inputting the target image into an image recognition model; and
determining, based on the plurality of first key points, second key points of each of the to-be-recognized images.

### Claim 2 (depends on 1)

The method according to claim 1, wherein pixel coordinates of the first key point on the target image are first key point coordinates, and said determining, based on the plurality of first key points, second key points of each of the to-be-recognized images comprises:
determining coordinate conversion parameters corresponding to the first key point coordinates, wherein the coordinate conversion parameters are configured to convert the first key point coordinates into coordinates of the second key point on the to-be-recognized image;
converting, based on the coordinate conversion parameters corresponding to the first key point coordinates, the first key point coordinates into second key point coordinates; and
determining a pixel point in the to-be-recognized image at the second key point coordinates as the second key point.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the target image comprises a plurality of image regions, the plurality of image regions containing to-be-recognized images corresponding to the plurality of image regions; and said determining the coordinate conversion parameters corresponding to the first key point coordinates comprises:
determining, in the plurality of image regions, a target image region corresponding to the first key point coordinates; and
determining, based on the to-be-recognized image corresponding to the target image region, the coordinate conversion parameters corresponding to the first key point coordinates.

### Claim 4 (depends on 3)

The method according to claim 3, further comprising:
determining, based on pixel coordinates of pixel points in the to-be-recognized image, an image boundary of the to-be-recognized image;
acquiring image region division coordinates by determining the pixel coordinates of the image boundary of the to-be-recognized image on the target image; and
dividing, based on the image region division coordinates, the target image into the plurality of image regions.

### Claim 5 (depends on 2)

The method according to claim 2, wherein said determining the coordinate conversion parameters corresponding to the first key point coordinates comprises:
determining at least one pixel point in the to-be-recognized image as a reference pixel point;
acquiring pre-stitching reference pixel coordinates by determining pixel coordinates of the reference pixel point on the to-be-recognized image, and acquiring post-stitching reference pixel coordinates by determining pixel coordinates of the reference pixel point on the target image; and
determining, based on the post-stitching reference pixel coordinates and the pre-stitching reference pixel coordinates, the coordinate conversion parameters.

### Claim 6 (depends on 5)

The method according to claim 5, wherein said determining, based on the post-stitching reference pixel coordinates and the pre-stitching reference pixel coordinates, the coordinate conversion parameters comprise:
determining difference values between the post-stitching reference pixel coordinates and the pre-stitching reference pixel coordinates as the coordinate conversion parameters; or
determining difference values between the pre-stitching reference pixel coordinates and the post-stitching reference pixel coordinates as the coordinate conversion parameters.

### Claim 7 (depends on 6)

The method according to claim 6, wherein said converting, based on the coordinate conversion parameters corresponding to the first key point coordinates, the first key point coordinates into the second key point coordinates comprises:
determining, in response to the coordinate conversion parameters being the difference values between the post-stitching reference pixel coordinates and the pre-stitching reference pixel coordinates, difference values between the first key point coordinates and the coordinate conversion parameters as the second key point coordinates; and
determining, in response to the coordinate conversion parameters being the difference values between the pre-stitching reference pixel coordinates and the post-stitching reference pixel coordinates, sums of the first key point coordinates and the coordinate conversion parameters as the second key point coordinates.

### Claim 8 (depends on 1)

The method according to claim 1, wherein said acquiring the target image by stitching the plurality of to-be-recognized images comprises:
acquiring a plurality of images of an equal size by scaling at least one to-be-processed image of the plurality of to-be-recognized images; and
acquiring the target image by stitching the plurality of images of the equal size.

### Claim 9

A method for live-streaming videos, applicable to a computer device, the method comprising:
acquiring a live video stream of a first account and a live video stream of a second account;
extracting a first to-be-recognized image from the live video stream of the first account and a second to-be-recognized image from the live video stream of the second account;
acquiring a target image by stitching the first to-be-recognized image and the second to-be-recognized image;
acquiring a plurality of first key points of the target image by inputting the target image into an image recognition model;
determining, based on the plurality of first key points, second key points of the first to-be-recognized image and the second to-be-recognized image;
acquiring a first special-effect image by adding, based on the second key points of the first to-be-recognized image, image special effects to the first to-be-recognized image, and acquiring a second special-effect image by adding, based on the second key points of the second to-be-recognized image, image special effects to the second to-be-recognized image; and
playing a special-effect live-streaming video of the first account and a special-effect live-streaming video of the second account, wherein the special-effect live-streaming video of the first account comprises the first special-effect image, and the special-effect live-streaming of the second account comprises the second special-effect image.

### Claim 10

A computer device, comprising:
a processor; and
a memory for storing one or more instructions executable by the processor;
wherein the processor, when loading and executing the one or more instructions, is caused to perform:
acquiring a plurality of to-be-recognized images;
acquiring a target image by stitching the plurality of to-be-recognized images;
acquiring a plurality of first key points of the target image by inputting the target image into an image recognition model; and
determining, based on the plurality of first key points, second key points of each of the to-be-recognized images.

### Claim 11 (depends on 10)

The computer device according to claim 10, wherein pixel coordinates of the first key point on the target image are first key point coordinates; and the processor, when loading and executing the one or more instructions, is caused to perform:
determining coordinate conversion parameters corresponding to the first key point coordinates, wherein the coordinate conversion parameters are configured to convert the first key point coordinates into coordinates of the second key point on the to-be-recognized image;
converting, based on the coordinate conversion parameters corresponding to the first key point coordinates, the first key point coordinates into second key point coordinates; and
determining a pixel point in the to-be-recognized image at the second key point coordinates as the second key point.

### Claim 12 (depends on 11)

The computer device according to claim 11, wherein the target image comprises a plurality of image regions, the plurality of image regions containing to-be-recognized images corresponding to the plurality of image regions; and the processor, when loading and executing the one or more instructions, is caused to perform:
determining, in the plurality of image regions, a target image region corresponding to the first key point coordinates; and
determining, based on the to-be-recognized image corresponding to the target image region, the coordinate conversion parameters corresponding to the first key point coordinates.

### Claim 13 (depends on 12)

The computer device according to claim 12, wherein the processor, when loading and executing the one or more instructions, is caused to perform:
determining, based on pixel coordinates of pixel points in the to-be-recognized image, an image boundary of the to-be-recognized image;
acquiring image region division coordinates by determining the pixel coordinates of the image boundary of the to-be-recognized image on the target image; and
dividing, based on the image region division coordinates, the target image into the plurality of image regions.

### Claim 14 (depends on 11)

The computer device according to claim 11, wherein the processor, when loading and executing the one or more instructions, is caused to perform:
determining at least one pixel point in the to-be-recognized image as a reference pixel point;
acquiring pre-stitching reference pixel coordinates by determining pixel coordinates of the reference pixel point on the to-be-recognized image, and acquiring post-stitching reference pixel coordinates by determining pixel coordinates of the reference pixel point on the target image; and
determining, based on the post-stitching reference pixel coordinates and the pre-stitching reference pixel coordinates, the coordinate conversion parameters.

### Claim 15 (depends on 14)

The computer device according to claim 14, wherein the processor, when loading and executing the one or more instructions, is caused to perform:
determining difference values between the post-stitching reference pixel coordinates and the pre-stitching reference pixel coordinates as the coordinate conversion parameters; or,
determining difference values between the pre-stitching reference pixel coordinates and the post-stitching reference pixel coordinates as the coordinate conversion parameters.

### Claim 16 (depends on 15)

The computer device according to claim 15, wherein the processor, when loading and executing the one or more instructions, is caused to perform:
determining, in response to the coordinate conversion parameters being the difference values between the post-stitching reference pixel coordinates and the pre-stitching reference pixel coordinates, difference values between the first key point coordinates and the coordinate conversion parameters as the second key point coordinates; and
determining, in response to the coordinate conversion parameters being the difference values between the pre-stitching reference pixel coordinates and the post-stitching reference pixel coordinates, sums of the first key point coordinates and the coordinate conversion parameters as the second key point coordinates.

### Claim 17 (depends on 10)

The computer device according to claim 10, wherein the processor, when loading and executing the one or more instructions, is caused to perform:
acquiring a plurality of images of an equal size by scaling at least one to-be-processed image of the plurality of to-be-recognized images; and
acquiring the target image by stitching the plurality of images of the equal size.
