# US 2022/0292866 A1 · Image landmark detection

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

- Number: US 2022/0292866 A1
- Document ID: US20220292866A1
- Status: Published application
- Kind: A1
- Application number: 17/829,644
- Filed: 2022-06-01
- Published: 2022-09-15
- Earliest claimed: 2019-02-15
- Assignees: Snap Inc.
- Applicants: Snap Inc.
- Inventors: Sergey Tulyakov; Roman Furko; Aleksei Stoliar
- Web page: https://patentgrep.com/patent/US20220292866A1

## CPC

- G06T 7/277: involving stochastic approaches, e.g. using Kalman filters
- G06F 18/2148: {characterised by the process organisation or structure, e.g. boosting cascade}
- G06F 18/2155: {characterised by the incorporation of unlabelled data, e.g. multiple instance learning [MIL], semi-supervised techniques using expectation-maximisation [EM] or naïve labelling}
- G06T 7/246: using feature-based methods, e.g. the tracking of corners or segments
- G06T 7/73: using feature-based methods
- G06T 7/77: using statistical methods
- G06T 11/60: Creating or editing images; Combining images with text
- G06V 10/25: Determination of region of interest [ROI] or a volume of interest [VOI]
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/7747: {Organisation of the process, e.g. bagging or boosting}
- G06V 10/7753: {Incorporation of unlabelled data, e.g. multiple instance learning [MIL]}
- G06V 10/776: Validation; Performance evaluation
- G06V 10/82: using neural networks
- G06V 20/20: in augmented reality scenes
- G06V 20/40: in video content (extracting overlay text G06V20/62; video retrieval G06F16/70; processing of video elementary streams in video servers H04N21/234; processing of video elementary streams in video clients H04N21/44)
- G06V 40/10: Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V 40/168: {Feature extraction; Face representation}
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20076: Probabilistic image processing
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/20132: Image cropping
- G06T 2207/30201: Face
- G06V 10/62: relating to a temporal dimension, e.g. time-based feature extraction; Pattern tracking
- G06V 2201/07: Target detection
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A landmark detection system can more accurately detect landmarks in images using a detection scheme that penalizes for dispersion parameters, such as variance or scale. The landmark detection system can be trained using both labeled and unlabeled training data in a semi-supervised approach. The landmark detection system can further implement tracking of an object across multiple images using landmark data.

## Claims

### Claim 1

A method comprising:
generating an image from a plurality of images in an image sequence generated using an image sensor of a computing device;
generating, using a generative machine learning scheme, landmark data by applying the generative machine learning scheme to the image, the generative machine learning scheme trained to compensate for dispersion of landmarks, the landmark data indicating one or more landmarks in the image;
detecting an object depicted in the image using an object detection machine learning scheme;
tracking the object in subsequent images of the image sequence using the generative machine learning scheme;
determining, in one of the subsequent images, that the object is not being tracked; and
resetting tracking of the object using the generative machine learning scheme.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
generating a modified image from the image using the landmark data; and
storing the modified image.

### Claim 3 (depends on 1)

The method of claim 1, wherein the generative machine learning scheme is further trained to compensate for mean of landmarks in training images.

### Claim 4 (depends on 3)

The method of claim 3, wherein the dispersion is at least one of: a scale parameter of a Gaussian distribution, or a variance parameter of a Laplacian distribution.

### Claim 5 (depends on 4)

The method of claim 4, wherein the training images comprise a labeled image set and an unlabeled image set, and the generative machine learning scheme is trained to compensate for dispersion of landmarks of one or more images in the labelled image set.

### Claim 6 (depends on 5)

The method of claim 5, wherein the generative machine learning scheme is trained on the unlabeled image set using a discrimination layer.

### Claim 7 (depends on 6)

The method of claim 6, wherein the generative machine learning scheme is initially trained on the labelled image set and then trained on the unlabeled image set.

### Claim 8 (depends on 1)

The method of claim 1, wherein tracking the object further comprises:
determining region of interest (ROI) coordinates of the object in the image; and
applying the generative machine learning scheme to the ROI coordinates in the subsequent images.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
updating the ROI coordinates of the object for each frame after generating landmark data from each respective frame, to correspond to a location of the object indicated by the landmark data for a given frame.

### Claim 10 (depends on 9)

The method of claim 9, further comprises:
generating cropped images by cropping each of the subsequent images using the ROI coordinates, wherein the generative machine learning scheme is applied to the cropped images of the images.

### Claim 11 (depends on 1)

The method of claim 1, wherein resetting tracking comprises:
reapplying the object detection machine learning scheme to one of the plurality of images; and
tracking additional subsequent images using the generative machine learning scheme, the additional subsequent images being images subsequent to the one of the plurality of images in the image sequence.

### Claim 12 (depends on 1)

The method of claim 1, wherein the generative machine learning scheme is a first neural network and the object detection machine learning scheme is a second neural network.

### Claim 13 (depends on 1)

The method of claim 1, wherein the generative machine learning scheme and the discrimination layer are trained end-to-end on a server.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
receiving, from the server, the generative machine learning scheme without the discrimination layer.

### Claim 15 (depends on 1)

The method of claim 1, wherein the object being tracked is an animal face, and the generative machine learning scheme is trained on images of animal faces.

### Claim 16 (depends on 2)

The method of claim 2, wherein generating the modified image comprises:
identifying locations of one or more landmarks in the image using the landmark data; and
generating the modified image by applying an image effect to the image based on the locations of one or more landmarks in the image.

### Claim 17 (depends on 16)

The method of claim 16, wherein the image effect includes overlaying user interface content on the image.

### Claim 18 (depends on 2)

The method of claim 2, further comprising:
publishing the modified image as an ephemeral message on a network site.

### Claim 19

A system comprising:
one or more processors of a machine;
an image sensor; and
a memory storing instructions that, when executed by the one or more processors, cause the machine to perform operations comprising:
generating an image from a plurality of images in an image sequence generated using an image sensor of a computing device;
generating, using a generative machine learning scheme, landmark data by applying the generative machine learning scheme to the image, the generative machine learning scheme trained to compensate for dispersion of landmarks, the landmark data indicating one or more landmarks in the image;
detecting an object depicted in the image using an object detection machine learning scheme;
tracking the object in subsequent images of the image sequence using the generative machine learning scheme;
determining, in one of the subsequent images, that the object is not being tracked; and
resetting tracking of the object using the generative machine learning scheme.

### Claim 20

A non-transitory machine-readable storage device embodying instructions that, when executed by a machine, cause the machine to perform operations comprising:
generating an image from a plurality of images in an image sequence generated using an image sensor of a computing device;
generating, using a generative machine learning scheme, landmark data by applying the generative machine learning scheme to the image, the generative machine learning scheme trained to compensate for dispersion of landmarks, the landmark data indicating one or more landmarks in the image;
detecting an object depicted in the image using an object detection machine learning scheme;
tracking the object in subsequent images of the image sequence using the generative machine learning scheme;
determining, in one of the subsequent images, that the object is not being tracked; and
resetting tracking of the object using the generative machine learning scheme.
