# US 2022/0292812 A1 · Zero-shot dynamic embeddings for photo search

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

- Number: US 2022/0292812 A1
- Document ID: US20220292812A1
- Status: Published application
- Kind: A1
- Application number: 17/831,423
- Filed: 2022-06-02
- Published: 2022-09-15
- Earliest claimed: 2019-12-09
- Assignees: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Applicants: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Inventors: Jenhao Hsiao; Yikang Li
- Web page: https://patentgrep.com/patent/US20220292812A1

## CPC

- G06F 18/24133: {Distances to prototypes}
- G06F 16/353: into predefined classes
- G06F 16/51: Indexing; Data structures therefor; Storage structures
- G06F 16/56: having vectorial format
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/764: using classification, e.g. of video objects
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

One example of a method of indexing a plurality of images includes, for each of the plurality of images, generating a feature vector for the image, applying a trained set of classifiers to the feature vector to generate a score vector for the image, and, based on the score vector and a set of category word vectors, producing a variable number of semantic embedding vectors for the image.

## Claims

### Claim 1

A method of indexing a plurality of images, the method comprising:
for each of the plurality of images:
generating a feature vector for the image;
applying a trained set of classifiers to the feature vector to generate a score vector for the image; and
based on the score vector and a set of category word vectors, producing a variable number of semantic embedding vectors for the image.

### Claim 2 (depends on 1)

The method of claim 1, wherein, for each of the plurality of images, each of the variable number of semantic embedding vectors corresponds to a different category word vector of the set of category word vectors.

### Claim 3 (depends on 1)

The method of claim 1, wherein, for each of the plurality of images, the value of the variable number is based on a relation between a threshold value and elements of the score vector.

### Claim 4 (depends on 1)

The method of claim 1, wherein, for each of the plurality of images, the score vector indicates, for each among the set of category word vectors, a probability that a corresponding label appears in the image.

### Claim 5 (depends on 1)

The method of claim 1, wherein the trained set of classifiers is based on a co-occurrence of labels among the tags for each of a set of training images.

### Claim 6 (depends on 1)

The method of claim 1, wherein the method further comprises, for each of the plurality of images, adding to a group of entries for indexed images an entry for the image that identifies the semantic embedding vectors of the variable number of semantic embedding vectors.

### Claim 7 (depends on 1)

The method of claim 1, wherein the method comprises, for each of the plurality of images, receiving the image from a camera of a smartphone.

### Claim 8

An image indexing system comprising:
a trained neural network configured to generate a feature vector for an image to be indexed;
a predictor configured to apply a trained set of classifiers to the feature vector to generate a score vector for the image; and
an indexer configured to produce a variable number of semantic embedding vectors for the image, based on the score vector and a set of category word vectors.

### Claim 9 (depends on 8)

The system of claim 8, wherein, for each of the plurality of images, each of the variable number of semantic embedding vectors corresponds to a different category word vector of the set of category word vectors.

### Claim 10 (depends on 8)

The system of claim 8, wherein, for each of the plurality of images, the value of the variable number is based on a relation between a threshold value and elements of the score vector.

### Claim 11 (depends on 8)

The system of claim 8, wherein, for each of the plurality of images, the score vector indicates, for each among the set of category word vectors, a probability that a corresponding label appears in the image.

### Claim 12 (depends on 8)

The system of claim 8, wherein the trained set of classifiers is based on a co-occurrence of labels among the tags for each of a set of training images.

### Claim 13 (depends on 8)

The system of claim 8, wherein the system further comprises an index configured to store, for each of a plurality of images that have been indexed, an entry that identifies the semantic embedding vectors of the corresponding variable number of semantic embedding vectors.

### Claim 14 (depends on 8)

The system of claim 8, wherein the system includes a camera configured to capture the image to be indexed.

### Claim 15

A non-transitory computer-readable storage medium storing computer-executable instructions, which when executed by one or more processors, cause the one or more processors to execute a method of indexing a plurality of images, the method comprising:
for each of the plurality of images:
generating a feature vector for the image;
applying a trained set of classifiers to the feature vector to generate a score vector for the image; and
based on the score vector and a set of category word vectors, producing a variable number of semantic embedding vectors for the image.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein, for each of the plurality of images, each of the variable number of semantic embedding vectors corresponds to a different category word vector of the set of category word vectors.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein, for each of the plurality of images, the value of the variable number is based on a relation between a threshold value and elements of the score vector.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein, for each of the plurality of images, the score vector indicates, for each among the set of category word vectors, a probability that a corresponding label appears in the image.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the trained set of classifiers is based on a co-occurrence of labels among the tags for each of a set of training images.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the method further comprises: for each of the plurality of images, adding to a group of entries for indexed images an entry for the image that identifies the semantic embedding vectors of the variable number of semantic embedding vectors.
