# US 2025/0232452 A1 · Target Tracking Method and Electronic Device

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

- Number: US 2025/0232452 A1
- Document ID: US20250232452A1
- Status: Published application
- Kind: A1
- Application number: 18/705,419
- Filed: 2023-11-23
- Published: 2025-07-17
- Earliest claimed: 2023-02-27
- Assignees: Honor Device Co., Ltd.
- Applicants: Honor Device Co., Ltd.
- Inventors: Chen Yang; Yonghua Wang; Guoqiao Chen; Zuochao Zhang
- Web page: https://patentgrep.com/patent/US20250232452A1

## CPC

- G06T 7/246: using feature-based methods, e.g. the tracking of corners or segments
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/08: Learning methods
- G06V 10/82: using neural networks
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A target tracking method and an electronic device. The method includes, when a first region displays an nth frame of a video stream, receiving a first operation input to the nth frame of image by a user; in response to the first operation, performing feature extraction on the nth frame of image, to obtain a template feature, where the nth frame of image includes a target; determining, through a first network based on the template feature, whether an (n+x)th frame of image of the video stream includes the target; and if it is determined, through the first network, that the (n+x)th frame of image does not include the target, determining, through a second network based on the template feature, whether the (n+x)th frame of image includes the target, where the first network and the second network satisfy at least one condition in a first preset condition.

## Claims

### Claim 1

A target tracking method, comprising:
displaying a first shooting interface, wherein a first region of the first shooting interface displays a video stream shot by a camera lens;
receiving a first operation, when the first region displays an nth frame of image of the video stream, provided to the nth frame of image by a user, wherein n is a positive integer;
performing feature extraction on the nth frame of image, in response to the first operation, to obtain a template feature, wherein the nth frame of image comprises a target;
selecting a first tracking region from an (n+x)th frame of image of the video stream, wherein x is a positive integer; and
searching the first tracking region through a first convolutional neural network (CNN) based on the template feature, and outputting a first position and a first confidence that corresponds to the first position, wherein whether the (n+x)th frame of image comprises the target is based on the first confidence,
wherein if the first confidence indicates that the (n+x)th frame of image does not comprise the target, the method further comprises searching the first tracking region through a second CNN based on the template feature, and outputting a second position and a second confidence that corresponds to the second position, and
wherein the first CNN and the second CNN satisfy at least one condition in a first set of preset conditions that comprises: a network depth of the second CNN being greater than a network depth of the first CNN, a network width of the second CNN being greater than a network width of the first CNN, and a resolution of an input image of the second CNN being greater than a resolution of an input image of the first CNN.

### Claim 2 (depends on 1)

The method of claim 1, wherein if the second confidence indicates that the (n+x)th frame of image does not comprise the target, the method further comprises searching the first tracking region through a third network based on the template feature, wherein the second CNN and the third network satisfy at least one condition in a second set of preset conditions that comprises: a network depth of the third network being greater than the network depth of the second CNN, a network width of the third network being greater than the network width of the second CNN, and a resolution of an input image of the third network being greater than the resolution of the input image of the second CNN.

### Claim 3 (depends on 2)

The method of claim 2, wherein at least one of the network depth and the network width of the second CNN is greater than at least one of the network depth and the network width of the first CNN, wherein at least one of the network depth and the network width of the third network is greater than at least one of the network depth and the network width of the first CNN, and wherein the resolution of the input image of the third network is separately greater than the resolution of the input image of the first CNN and the resolution of the input image of the second CNN.

### Claim 4 (depends on 2)

The method of claim 2, wherein the (n+x)th frame of image comprises the target, based on the first confidence, if the first confidence is greater than a first confidence threshold, and wherein the (n+x)th frame of image does not comprise the target, based on the first confidence, if the first confidence is less than or equal to the first confidence threshold.

### Claim 5 (depends on 4)

The method of claim 4, wherein selecting the first tracking region from the (n+x)th frame of image comprises selecting a portion of a region in the (n+x)th frame of image based on a position of the target in a (n+x−1)th frame of image of the video stream to obtain the first tracking region.

### Claim 6 (depends on 4)

The method of claim 4, further comprising outputting the first position if the (n+x)th frame of image comprises the target based on the first confidence, wherein the first position represents a position of the target in the (n+x)th frame of image.

### Claim 7 (depends on 4)

The method of claim 4, wherein the (n+x)th frame of image comprises the target, based on the second confidence, if the second confidence is greater than a second confidence threshold, and wherein the (n+x)th frame of image does not comprise the target, based on the second confidence, if the second confidence is less than or equal to the second confidence threshold.

### Claim 8 (depends on 7)

The method of claim 7, further comprising outputting the second position if the (n+x)th frame of image comprises the target based on the second confidence, wherein the second position represents the position of the target in the (n+x)th frame of image.

### Claim 9 (depends on 4)

The method of claim 4, wherein a search range of the third network for the (n+x)th frame of image is separately greater than a search range of the first CNN for the (n+x)th frame of image and a search range of the second CNN for the (n+x)th frame of image.

### Claim 10 (depends on 9)

The method of claim 9, wherein searching the first tracking region through the third network further comprises:
performing region division on the (n+x)th frame of image, to obtain a plurality of second tracking regions; and
separately searching in the plurality of second tracking regions through the third network based on the template feature, and outputting a plurality of third positions and third confidences that correspond to the third positions,
wherein the (n+x)th frame of image comprises the target if a third target confidence that is greater than a third confidence threshold exists in the plurality of third confidences, and
wherein the (n+x)th frame of image does not comprise the target if the third target confidence that is greater than the third confidence threshold does not exist in the plurality of third confidences.

### Claim 11 (depends on 10)

The method of claim 10, wherein a resolution of at least one second tracking region in the plurality of second tracking regions is greater than a resolution of the first tracking region.

### Claim 12 (depends on 10)

The method of claim 10, further comprising:
outputting a third target position if the (n+x)th frame of image comprises the target based on the third network, wherein the third target position is a third position corresponding to the third target confidence, and the third target position represents the position of the target in the (n+x)th frame of image; and
stopping tracking the target if the (n+x)th frame of image does not comprise the target based on the third network.

### Claim 13 (depends on 1)

The method of claim 1, wherein the first operation is a tap operation, and the method further comprises:
selecting a target region from the nth frame of image based on a tap position of the first operation; and
performing feature extraction on the target region to generate the template feature.

### Claim at position 14

-28. (canceled)

### Claim 29

An electronic device, comprising:
one or more processors; and
a memory coupled to the one or more processors and configured to store instructions that, when executed by the one or more processors, cause the electronic device to be configured to:
display a first shooting interface, wherein a first region of the first shooting interface displays a video stream shot by a camera lens;
receive a first operation, when the first region displays an nth frame of image of the video stream, provided to the nth frame of image by a user, wherein n is a positive integer;
perform feature extraction on the nth frame of image, in response to the first operation, to obtain a template feature, wherein the nth frame of image comprises a target;
select a first tracking region from an (n+x)th frame of image of the video stream, wherein x is a positive integer; and
search the first tracking region through a first convolutional neural network (CNN) based on the template feature, and output a first position and a first confidence that corresponds to the first position, wherein whether the (n+x)th frame of image comprises the target is based on the first confidence,
wherein if the first confidence indicates that the (n+x)th frame of image does not comprise the target, the electronic device is further configured to search the first tracking region through a second CNN based on the template feature, and output a second position and a second confidence that corresponds to the second position, and
wherein the first CNN and the second CNN satisfy at least one condition in a first set of preset conditions that comprises: a network depth of the second CNN being greater than a network depth of the first CNN, a network width of the second CNN being greater than a network width of the first CNN, and a resolution of an input image of the second CNN being greater than a resolution of an input image of the first CNN.

### Claim 30 (depends on 29)

The electronic device of claim 29, wherein if the second confidence indicates that the (n+x)th frame of image does not comprise the target, the electronic device is further configured to search the first tracking region through a third network based on the template feature, wherein the second CNN and the third network satisfy at least one condition in a second set of preset conditions that comprises: a network depth of the third network being greater than the network depth of the second CNN, a network width of the third network being greater than the network width of the second CNN, and a resolution of an input image of the third network being greater than the resolution of the input image of the second CNN.

### Claim 31 (depends on 30)

The electronic device of claim 30, wherein the (n+x)th frame of image comprises the target, based on the first confidence, if the first confidence is greater than a first confidence threshold, and wherein the (n+x)th frame of image does not comprise the target, based on the first confidence, if the first confidence is less than or equal to the first confidence threshold.

### Claim 32 (depends on 31)

The electronic device of claim 31, wherein the (n+x)th frame of image comprises the target, based on the second confidence, if the second confidence is greater than a second confidence threshold, and wherein the (n+x)th frame of image does not comprise the target, based on the second confidence, if the second confidence is less than or equal to the second confidence threshold.

### Claim 33 (depends on 31)

The electronic device of claim 31, wherein a search range of the third network for the (n+x)th frame of image is separately greater than a search range of the first CNN for the (n+x)th frame of image and a search range of the second CNN for the (n+x)th frame of image, and wherein searching the first racking region through the third network further comprises:
performing region division on the (n+x)th frame of image, to obtain a plurality of second tracking regions; and
separately searching in the plurality of second tracking regions through the third network based on the template feature, and outputting a plurality of third positions and third confidences that correspond to the third positions,
wherein the (n+x)th frame of image comprises the target if a third target confidence that is greater than a third confidence threshold exists in the plurality of third confidences, and
wherein the (n+x)th frame of image does not comprise the target if the third target confidence that is greater than the third confidence threshold does not exist in the plurality of third confidences.

### Claim 34 (depends on 33)

The electronic device according to claim 33, wherein the instructions, when executed by the one or more processors, further cause the electronic device to be configured to:
output a third target position if the (n+x)th frame of image comprises the target based on the third network, wherein the third target position is a third position corresponding to the third target confidence, and the third target position represents the position of the target in the (n+x)th frame of image; and
stopping tracking the target if the (n+x)th frame of image does not comprise the target based on the third network.

### Claim 35

A non-transitory computer-readable storage medium storing instructions that, when executed by one or more processors of an electronic device, cause the electronic device to be configured to:
display a first shooting interface, wherein a first region of the first shooting interface displays a video stream shot by a camera lens;
receive a first operation, when the first region displays an nth frame of image of the video stream, provided to the nth frame of image by a user, wherein n is a positive integer;
perform feature extraction on the nth frame of image, in response to the first operation, to obtain a template feature, wherein the nth frame of image comprises a target;
select a first tracking region from an (n+x)th frame of image of the video stream, wherein x is a positive integer; and
search the first tracking region through a first convolutional neural network (CNN) based on the template feature, and output a first position and a first confidence that corresponds to the first position, wherein whether the (n+x)th frame of image comprises the target is based on the first confidence,
wherein if the first confidence indicates that the (n+x)th frame of image does not comprise the target, the electronic device is further configured to search the first tracking region through a second CNN based on the template feature, and output a second position and a second confidence that corresponds to the second position, and
wherein the first CNN and the second CNN satisfy at least one condition in a first set of preset conditions that comprises: a network depth of the second CNN being greater than a network depth of the first CNN, a network width of the second CNN being greater than a network width of the first CNN, and a resolution of an input image of the second CNN being greater than a resolution of an input image of the first CNN.
