# US 2022/0292877 A1 · Systems, methods, and storage media for creating image data embeddings to be used for image recognition

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

- Number: US 2022/0292877 A1
- Document ID: US20220292877A1
- Status: Published application
- Kind: A1
- Application number: 17/690,175
- Filed: 2022-03-09
- Published: 2022-09-15
- Earliest claimed: 2021-03-15
- Assignees: Irdeto B.V.
- Applicants: Irdeto B.V.
- Inventors: Alireza SEPAS-MOGHADDAM; Ali ETEMAD; Mojtaba KOLAHDOUZI
- Web page: https://patentgrep.com/patent/US20220292877A1

## CPC

- G06V 40/165: {using facial parts and geometric relationships}
- G06V 40/172: {Classification, e.g. identification}
- G06V 10/82: using neural networks
- G06V 40/171: {Local features and components; Facial parts (eye characteristics G06V40/18); Occluding parts, e.g. glasses; Geometrical relationships}
- G06V 40/175: {Static expression}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Disclosed implementations include a method, apparatus and computer media for learning an optimal graph in the form of a tree topology defining a sequence that can be used by a learning network for image recognition. Image data representing the image of an object is received and N landmarks are detected on the image using a deep regression algorithm, wherein N is an integer. A weighted, fully connected, graph is constructed from the landmarks by assigning initial weights for the landmarks randomly. An optimized tree structure is determined based on the initial weights. A sequence is generated by traversing nodes of the tree structure and a series of embeddings representing the object image are generated based on the sequence. The embeddings can be processed by a neural network to generate an image recognition signal based on the embeddings.

## Claims

### Claim 1

An object recognition method for learning an optimal graph in the form of a tree topology defining a sequence that can be used by a learning network for image recognition, the method comprising:
receiving image data representing the image of an object;
detecting N landmarks on the image using a deep regression algorithm, wherein N is an integer;
constructing a weighted, fully connected, graph kn from the landmarks by assigning initial weights for the landmarks randomly;
determining an optimized tree structure based on the initial weights;
generating a sequence by traversing the tree structure;
forming a series of embeddings based on the sequence, the embeddings representing the object image; and
inputting the embeddings into a neural network to thereby generate an image recognition signal based on the embeddings.

### Claim 2 (depends on 1)

The method of claim 1, wherein the image data is facial image data representing an image of a person's face and the image recognition signal is a facial recognition signal.

### Claim 3 (depends on 2)

The method of claim 2, further comprising, frontalizing the facial image data with a dual attention generative adversarial network (DA-GAN) before the constructing.

### Claim 4 (depends on 1)

The method of claim 1, further comprising inputting the sequence into the neural network to thereby generate the image recognition signal based on the sequence and the embeddings.

### Claim 5 (depends on 4)

The method of claim 4, wherein an output of the neural network is fed back for use in the constructing, generating, and forming steps.

### Claim 6 (depends on 1)

The method of claim 1, wherein the neural network is a Long Short-Term Memory (LSTM) neural network.

### Claim 7 (depends on 1)

The method of claim 1, wherein the sequence represents a structure of the object and generating the sequence comprises finding an optimum minimum-cost spanning tree G(A) by using the Prim's Algorithm to solve;
a
ij
⁢
∑
i
=
1
n
∑
j
=
1
n
a
ij
∋
G
⁡
(
A
)
⁢
is
⁢
tree
,
where;
A is an adjacency matrix of graph G(A), and
αij is an element of matrix A.

### Claim 8 (depends on 7)

The method of claim 7, wherein generating the sequence further comprises traversing the tree structure using a preorder depth-first order traversal algorithm starting point of a geometrically most centered landmark of the N facial landmarks.

### Claim 9 (depends on 1)

The method of claim 1, wherein N=50.

### Claim 10 (depends on 1)

The method of claim 1, wherein forming the embeddings comprises determining the embeddings based on;
O(X,Wgraph)=xαxβ . . . xγ,
where;
X is the set of the landmarks' coordinates,
Wgraph is the weights of the complete graph, and
each of xαxβ . . . xγ belongs to the set X.

### Claim 11 (depends on 1)

The method of claim 1, wherein the embeddings represent a texture of the image.

### Claim 12 (depends on 11)

The method of claim 11, where generating the embeddings comprises:
forming n×n patches respectively centered around each of the landmarks; and
cropping the patches from the image data and feeding the corresponding data to a pretrained convolutional neural network.

### Claim 13

An object recognition system for learning an optimal graph in the form of a tree topology defining a sequence that can be used by a learning network for image recognition, the method comprising:
at least one computer processor configured to execute computer-readable instructions; and
at least one memory device having computer-readable instructions recorded thereon which, when executed by the at least one computer processor, cause the at least one computer processor to conduct the method of;
receiving image data representing the image of an object;
detecting N landmarks on the image using a deep regression algorithm, wherein N is an integer;
constructing a weighted, fully connected, graph kn from the landmarks by assigning initial weights for the landmarks randomly;
determining an optimized tree structure based on the initial weights;
generating a sequence by traversing the tree structure;
forming a series of embeddings based on the sequence, the embeddings representing the object image; and
inputting the embeddings into a neural network to thereby generate an image recognition signal based on the embeddings.

### Claim 14 (depends on 13)

The system of claim 13, wherein the image data is facial image data representing an image of a person's face and the image recognition signal is a facial recognition signal.

### Claim 15 (depends on 14)

The system of claim 14, wherein the method further comprises, frontalizing the facial image data with a dual attention generative adversarial network (DA-GAN) before the constructing.

### Claim 16 (depends on 13)

The system of claim 13, wherein the method further comprises inputting the sequence into the neural network to thereby generate the image recognition signal based on the sequence and the embeddings.

### Claim 17 (depends on 16)

The system of claim 16, wherein an output of the neural network is fed back for use in the constructing, generating, and forming steps.

### Claim 18 (depends on 13)

The system of claim 13, wherein the neural network is a Long Short-Term Memory (LSTM) neural network.

### Claim 19 (depends on 13)

The system of claim 13, wherein the sequence represents a structure of the object and generating the sequence comprises finding an optimum minimum-cost spanning tree G(A) by using the Prim's Algorithm to solve;
a
ij
⁢
∑
i
=
1
n
∑
j
=
1
n
a
ij
∋
G
⁡
(
A
)
⁢
is
⁢
tree
,
where;
A is an adjacency matrix of graph G(A), and
aij is an element of matrix A.

### Claim 20 (depends on 19)

The system of claim 19, wherein generating the sequence further comprises traversing the tree structure using a preorder depth-first order traversal algorithm starting point of a geometrically most centered landmark of the N facial landmarks.

### Claim 21 (depends on 13)

The system of claim 13, wherein N=50.

### Claim 22 (depends on 13)

The system of claim 13, wherein forming the embeddings comprises determining the embeddings based on;
O(X,Wgraph)=xαxβ . . . xγ,
where;
X is the set of the landmarks' coordinates,
Wgraph is the weights of the complete graph, and
each of xαxβ . . . xγ belongs to the set X.

### Claim 23 (depends on 13)

The system of claim 13, wherein the embeddings represent a texture of the image.

### Claim 24 (depends on 23)

The system of claim 23, where generating the embeddings comprises:
forming n×n patches respectively centered around each of the landmarks; and
cropping the patches from the image data and feeding the corresponding data to a pretrained convolutional neural network.

### Claim 25

Non-transient computer readable media having computer-readable instructions recorded thereon which, when executed by at least one computer processor, cause the at least one computer processor to conduct the method of;
receiving image data representing the image of an object;
detecting N landmarks on the image using a deep regression algorithm, wherein N is an integer;
constructing a weighted, fully connected, graph kn from the landmarks by assigning initial weights for the landmarks randomly;
determining an optimized tree structure based on the initial weights;
generating a sequence by traversing the tree structure;
forming a series of embeddings based on the sequence, the embeddings representing the object image; and
inputting the embeddings into a neural network to thereby generate an image recognition signal based on the embeddings.
