# US 2022/0292875 A1 · Facial image processing method and device, terminal, 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 2022/0292875 A1
- Document ID: US20220292875A1
- Status: Published application
- Kind: A1
- Application number: 17/631,891
- Filed: 2020-07-27
- Published: 2022-09-15
- Earliest claimed: 2019-08-06
- Assignees: Beijing Bytedance Network Technology Co., Ltd.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.
- Inventors: Shupeng ZHANG; Xijin ZHANG; Ang LIU; Wei ZHENG
- Web page: https://patentgrep.com/patent/US20220292875A1

## CPC

- G06V 10/751: {Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching}
- G06V 10/95: {structured as a network, e.g. client-server architectures}
- G06V 40/162: {using pixel segmentation or colour matching}
- G06V 40/169: {Holistic features and representations, i.e. based on the facial image taken as a whole}
- G06V 40/172: {Classification, e.g. identification}
- H04N 21/431: Generation of visual interfaces {for content selection or interaction}; Content or additional data rendering
- 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 23/60: Control of cameras or camera modules
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Embodiments of the present application disclose a facial image processing method and device, a terminal, and a storage medium. The method comprises: in response to a split-screen instruction regarding a target video, displaying a video split-screen interface comprising at least a first display window and a second display window; in response to an image acquisition instruction, acquiring an image frame including at least a first face, wherein the first display window is used to display a video image frame including a second face in the target video, and the second display window is used to display the image frame including at least the first face; obtaining, on the basis of the image frame including the first face and the video image frame including the second face, a similarity matching result between the first face and the second face; and displaying the similarity matching result in the video split-screen interface.

## Claims

### Claim 1

A face image processing method, comprising:
presenting, in response to a duet instruction for a target video, a video duet interface comprising at least a first display window and a second display window;
collecting, in response to an image collecting instruction, a frame image comprising at least a first face, wherein the first display window displays a video frame image of the target video comprising a second face, and the second display window displays the frame image comprising at least the first face;
obtaining a similarity matching result of the first face and the second face based on the frame image comprising the first face and the video frame image comprising the second face; and
presenting the similarity matching result in the video duet interface.

### Claim 2 (depends on 1)

The method according to claim 1, wherein before the collecting, in response to an image collecting instruction, a frame image comprising at least a first face, the method further comprises:
receiving an operation instruction corresponding to a similarity effect; and
loading, in response to the operation instruction, effect resources corresponding to the similarity effect, wherein
the presenting the similarity matching result in the video duet interface comprises:
presenting, through the effect resources, the similarity matching result in the video duet interface.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising:
presenting video information of at least one video in a user interface; and
receiving, based on the presented video information of the at least one video, a video selecting instruction for the at least one video, and determining a video corresponding to the video selecting instruction as the target video.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the obtaining a similarity matching result of the first face and the second face comprises:
sending the collected frame image to a server, wherein the server performs, based on the frame image comprising the first face and the video frame image comprising the second face, similarity matching on the first face and the second face, to obtain the similarity matching result; and
receiving the similarity matching result returned by the server.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the obtaining a similarity matching result of the first face and the second face comprises:
receiving a video file of the target video sent by a server;
decoding the video file to obtain the video frame image comprising the second face; and
performing, based on the frame image comprising the first face and the video frame image comprising the second face, similarity matching on the first face and the second face to obtain a similarity matching result.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the presenting the similarity matching result in the video duet interface comprises:
presenting, in the first display window and/or the second display window, an overall similarity matching result of facial features between the first face and the second face.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the presenting the similarity matching result in the video duet interface comprises:
presenting, in the first display window and/or the second display window, a facial feature with a highest similarity between the first face and the second face.

### Claim 8 (depends on 1)

The method according to claim 1, further comprising:
obtaining, if it is recognized that the collected frame image comprises a plurality of faces, recognition information corresponding to the plurality of faces, wherein the recognition information comprises at least one of the following: a recognition sequence of the plurality of faces, and a face integrity of each of the recognized plurality of faces; and
determining, based on the recognition information, the first face from the plurality of faces.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the presenting the similarity matching result in the video duet interface comprises:
obtaining a plurality of similarity matching results, wherein the plurality of similarity matching results are obtained by performing, based on a plurality of consecutive frame images each comprising a first face and a plurality of consecutive video frame images each comprising a second face, similarity matching on the first face and the second face; and
presenting, if it is determined that facial similarity conclusion represented by the plurality of similarity matching results is consistent, the facial similarity conclusion in the video duet interface.

### Claim at position 10

10-16. (canceled)

### Claim 17

A terminal device, comprising:
at least one processor; and
at least one memory communicatively coupled to the at least one processor and storing instructions that upon execution by the at least one processor cause the terminal device to:
present, in response to a duet instruction for a target video, a video duet interface comprising at least a first display window and a second display window;
collect, in response to an image collecting instruction, a frame image comprising at least a first face, wherein the first display window displays a video frame image of the target video comprising a second face, and the second display window displays the frame image comprising at least the first face;
obtain a similarity matching result of the first face and the second face based on the frame image comprising the first face and the video frame image comprising the second face; and
present the similarity matching result in the video duet interface.

### Claim 18

(canceled)

### Claim 19

A non-transitory storage medium, bearing computer-readable instructions that upon execution on a computing device cause the computing device at least to:
present, in response to a duet instruction for a target video, a video duet interface comprising at least a first display window and a second display window;
collect, in response to an image collecting instruction, a frame image comprising at least a first face, wherein the first display window displays a video frame image of the target video comprising a second face, and the second display window displays the frame image comprising at least the first face;
obtain a similarity matching result of the first face and the second face based on the frame image comprising the first face and the video frame image comprising the second face; and
present the similarity matching result in the video duet interface.

### Claim 20

(canceled)

### Claim 21 (depends on 17)

The terminal device of claim 17, the at least one memory further storing instructions that upon execution by the at least one processor cause the terminal device to:
receive an operation instruction corresponding to a similarity effect; and
load, in response to the operation instruction, effect resources corresponding to the similarity effect, wherein
the presenting the similarity matching result in the video duet interface comprises:
present, through the effect resources, the similarity matching result in the video duet interface.

### Claim 22 (depends on 17)

The terminal device of claim 17, the at least one memory further storing instructions that upon execution by the at least one processor cause the terminal device to:
present video information of at least one video in a user interface; and
receive, based on the presented video information of the at least one video, a video selecting instruction for the at least one video, and determining a video corresponding to the video selecting instruction as the target video.

### Claim 23 (depends on 17)

The terminal device of claim 17, the at least one memory further storing instructions that upon execution by the at least one processor cause the terminal device to:
send the collected frame image to a server, wherein the server performs, based on the frame image comprising the first face and the video frame image comprising the second face, similarity matching on the first face and the second face, to obtain the similarity matching result; and
receive the similarity matching result returned by the server.

### Claim 24 (depends on 17)

The terminal device of claim 17 the at least one memory further storing instructions that upon execution by the at least one processor cause the terminal device to:
receive a video file of the target video sent by a server;
decode the video file to obtain the video frame image comprising the second face; and
perform, based on the frame image comprising the first face and the video frame image comprising the second face, similarity matching on the first face and the second face to obtain a similarity matching result.

### Claim 25 (depends on 17)

The terminal device of claim 17, the at least one memory further storing instructions that upon execution by the at least one processor cause the terminal device to:
present, in the first display window and/or the second display window, an overall similarity matching result of facial features between the first face and the second face.

### Claim 26 (depends on 17)

The terminal device of claim 17, the at least one memory further storing instructions that upon execution by the at least one processor cause the terminal device to:
present, in the first display window and/or the second display window, a facial feature with a highest similarity between the first face and the second face.

### Claim 27 (depends on 17)

The terminal device of claim 17, the at least one memory further storing instructions that upon execution by the at least one processor cause the terminal device to:
obtain if it is recognized that the collected frame image comprises a plurality of faces, recognition information corresponding to the plurality of faces, wherein the recognition information comprises at least one of the following: a recognition sequence of the plurality of faces, and a face integrity of each of the recognized plurality of faces; and
determine, based on the recognition information, the first face from the plurality of faces.

### Claim 28 (depends on 17)

The terminal device of claim 17, the at least one memory further storing instructions that upon execution by the at least one processor cause the terminal device to:
obtain a plurality of similarity matching results, wherein the plurality of similarity matching results are obtained by performing, based on a plurality of consecutive frame images each comprising a first face and a plurality of consecutive video frame images each comprising a second face, similarity matching on the first face and the second face; and
present, if it is determined that facial similarity conclusion represented by the plurality of similarity matching results is consistent, the facial similarity conclusion in the video duet interface.
