# US 2026/0268712 A1 · Object detection method, electronic device, computer-readable storage medium

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

- Number: US 2026/0268712 A1
- Document ID: US20260268712A1
- Status: Published application
- Kind: A1
- Application number: 19/296,138
- Filed: 2025-08-11
- Published: 2026-09-10
- Earliest claimed: 2025-03-06
- Assignees: Mashang Consumer Finance Co., Ltd.
- Applicants: Mashang Consumer Finance Co., Ltd.
- Inventors: Yue FENG
- Web page: https://patentgrep.com/patent/US20260268712A1

## CPC

- G06V 40/45: {Detection of the body part being alive}
- G06T 7/248: {involving reference images or patches}
- G06T 7/74: {involving reference images or patches}
- G06V 10/761: {Proximity, similarity or dissimilarity measures}
- G06V 20/46: {Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames}
- G06V 40/165: {using facial parts and geometric relationships}
- G06V 40/67: {by interactive indications to the user}
- G06T 2207/10016: Video; Image sequence
- G06T 2207/30201: Face
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An object detection method, an electronic device, a computer-readable storage medium, are provided. The method includes: determining, in response to a first detection request for a first object, first position data of a key part of the first object at each moment and second position data of a detection device at each moment while the detection device detects the first object; determining first action data of the first object at each moment based on the first position data, and determining second action data of the detection device at each moment based on the second position data; and determining a similarity between the first action data and the second action data at a same moment, and determining a detection result for the first object based on the similarity.

## Claims

### Claim 1

An object detection method, comprising:
determining, in response to a first detection request for a first object, first position data of a key part of the first object at each moment and second position data of a detection device at each moment while the detection device detects the first object;
determining first action data of the first object at each moment based on the first position data, and determining second action data of the detection device at each moment based on the second position data; and
determining a similarity between the first action data and the second action data at a same moment, and determining a detection result for the first object based on the similarity.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining, when the detection device detects the first object, the first position data of the key part of the first object at each moment comprises:
parsing the first detection request to obtain a detection video of the first object;
extracting video frames from the detection video to obtain a sequence of the video frames; and
extracting the key part from the video frames to obtain first position data of the key part in the video frames.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining the first action data of the first object at each moment based on the first position data comprises:
determining a first rotational speed and a first movement acceleration of the first object at each moment based on the first position data; and
combining the first rotational speed and the first movement acceleration of the first object at each moment to obtain the first action data of the first object at each moment.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining the first rotational speed of the first object at each moment based on the first position data comprises:
for a first moment and a second moment that are adjacent, determining a first plane of the first object at the first moment based on the first position data of the first object at the first moment, and determining a second plane of the first object at the second moment based on the first position data of the first object at the second moment; the second moment being a previous moment of the first moment;
determining a rotation angle between the first plane and the second plane with a preset reference plane as a reference; and
determining a time interval between the first moment and the second moment, and determining a ratio of the rotation angle to the time interval as the first rotational speed of the first object at the first moment.

### Claim 5 (depends on 4)

The method of claim 4, wherein determining the rotation angle between the first plane and the second plane with the preset reference plane as the reference comprises:
determining a first rotation angle from the first plane to the preset reference plane and a second rotation angle from the second plane to the preset reference plane by using the preset reference plane as the reference;
determining a second normal vector of the first plane based on a first normal vector of the preset reference plane and the first rotation angle, and determining a third normal vector of the second plane based on the first normal vector and the second rotation angle; and
performing a dot product operation on the second normal vector and the third normal vector, and determining the rotation angle between the first plane and the second plane based on a result of the dot product operation.

### Claim 6 (depends on 3)

The method of claim 3, wherein determining the first movement acceleration of the first object at each moment based on the first position data comprises:
for a third moment, a fourth moment, and a fifth moment that are adjacent, determining a first centroid position of the first object at the third moment, a second centroid position of the first object at the fourth moment, and a third centroid position of the first object at the fifth moment based on the first position data of the first object at the third moment, the first position data of the first object at the fourth moment, and the first position data of the first object at the fifth moment, respectively;
determining a movement acceleration of the first object corresponding to a horizontal direction at the fifth moment based on position changes of the first centroid position, the second centroid position, and the third centroid position in the horizontal direction;
determining a movement acceleration of the first object corresponding to a vertical direction at the fifth moment based on position changes of the first centroid position, the second centroid position, and the third centroid position in the vertical direction;
determining a third plane of the first object at the third moment, a fourth plane of the first object at the fourth moment, and a fifth plane of the first object at the fifth moment, and determining a movement acceleration of the first object corresponding to a depth direction at the fifth moment based on changes in area of the third plane, the fourth plane, and the fifth plane; and
combining the movement acceleration of the first object corresponding to the horizontal direction, the movement acceleration of the first object corresponding to the vertical direction, and the movement acceleration corresponding to the depth direction at the fifth moment, to obtain the first movement acceleration of the first object at the fifth moment.

### Claim 7 (depends on 1)

The method of claim 1, wherein determining the second action data of the detection device at each moment based on the second position data comprises:
determining a second movement acceleration collected by an accelerometer of the detection device at each moment as a first part of the second position data of the detection device at the moment;
determining a second rotational speed collected by a gyroscope of the detection device at each moment as a second part of the second position data of the detection device at the moment; and
obtaining the second action data of the detection device at each moment based on the first part and the second part of the second position data.

### Claim 8 (depends on 1)

The method of claim 1, wherein determining a similarity between the first action data and the second action data at a same moment comprises:
for each moment, obtaining the first action data and the second action data at the moment;
calculating a cosine distance between the first action data and the second action data; and
determining the similarity between the first action data and the second action data based on the cosine distance between the first action data and the second action data.

### Claim 9 (depends on 1)

The method of claim 1, wherein determining the detection result for the first object based on the similarity comprises:
determining a sixth moment corresponding to the similarity being greater than a similarity threshold, and determining a number of sixth moments; and
determining, in the case that the number of sixth moments is greater than a number threshold, that the detection result is that the first object is liveness.

### Claim 10 (depends on 1)

The method of claim 1, wherein before the response to the first detection request for the first object, the method comprises:
in response to a detection start request of the detection device, generating a service identifier of an object detection service and a detection box set based on a device identifier of the detection device, and sending the service identifier and the detection box set to the detection device, wherein the detection box set comprises at least two detection boxes, and different detection boxes correspond to different third position data; and
in response to a second detection request of the detection device for a first detection box, in the case of determining that a display position of the first object in the first detection box matches a preset position, sending a detection instruction to the detection device, so that the detection device continues to trigger a third detection request for a second detection box based on the detection instruction until the detection device completes detection of the first object, and acquiring the first detection request for the first object.

### Claim 11 (depends on 10)

The method of claim 10, wherein the first detection request carries the service identifier; and
in response to the first detection request for the first object, determining, when the detection device detects the first object, the first position data of the key part of the first object at each moment and the second position data of the detection device at each moment comprises:
in response to the first detection request for the first object, determining a first time at which the first detection request is received, and a second time at which the service identifier is generated; and
in the case that a time interval between the first time and the second time is less than an interval threshold, determining the first position data of the first object and the second position data of the detection device when the detection device detects the first object.

### Claim 12

An electronic device, comprising:
a memory for storing computer-executable instructions or a computer program; and
a processor configured to execute the computer-executable instructions or the computer program stored in the memory to perform:
determining, in response to a first detection request for a first object, first position data of a key part of the first object at each moment and second position data of a detection device at each moment while the detection device detects the first object;
determining first action data of the first object at each moment based on the first position data, and determining second action data of the detection device at each moment based on the second position data; and
determining a similarity between the first action data and the second action data at a same moment, and determining a detection result for the first object based on the similarity.

### Claim 13 (depends on 12)

The electronic device of claim 12, wherein determining, when the detection device detects the first object, the first position data of the key part of the first object at each moment comprises:
parsing the first detection request to obtain a detection video of the first object;
extracting video frames from the detection video to obtain a sequence of the video frames; and
extracting the key part from the video frames to obtain first position data of the key part in the video frames.

### Claim 14 (depends on 12)

The electronic device of claim 12, wherein determining the first action data of the first object at each moment based on the first position data comprises:
determining a first rotational speed and a first movement acceleration of the first object at each moment based on the first position data; and
combining the first rotational speed and the first movement acceleration of the first object at each moment to obtain the first action data of the first object at each moment.

### Claim 15 (depends on 14)

The electronic device of claim 14, wherein determining the first rotational speed of the first object at each moment based on the first position data comprises:
for a first moment and a second moment that are adjacent, determining a first plane of the first object at the first moment based on the first position data of the first object at the first moment, and determining a second plane of the first object at the second moment based on the first position data of the first object at the second moment; the second moment being a previous moment of the first moment;
determining a rotation angle between the first plane and the second plane with a preset reference plane as a reference; and
determining a time interval between the first moment and the second moment, and determining a ratio of the rotation angle to the time interval as the first rotational speed of the first object at the first moment.

### Claim 16 (depends on 15)

The electronic device of claim 15, wherein determining the rotation angle between the first plane and the second plane with the preset reference plane as the reference comprises:
determining a first rotation angle from the first plane to the preset reference plane and a second rotation angle from the second plane to the preset reference plane by using the preset reference plane as the reference;
determining a second normal vector of the first plane based on a first normal vector of the preset reference plane and the first rotation angle, and determining a third normal vector of the second plane based on the first normal vector and the second rotation angle; and
performing a dot product operation on the second normal vector and the third normal vector, and determining the rotation angle between the first plane and the second plane based on a result of the dot product operation.

### Claim 17 (depends on 14)

The electronic device of claim 14, wherein determining the first movement acceleration of the first object at each moment based on the first position data comprises:
for a third moment, a fourth moment, and a fifth moment that are adjacent, determining a first centroid position of the first object at the third moment, a second centroid position of the first object at the fourth moment, and a third centroid position of the first object at the fifth moment based on the first position data of the first object at the third moment, the first position data of the first object at the fourth moment, and the first position data of the first object at the fifth moment, respectively;
determining a movement acceleration of the first object corresponding to a horizontal direction at the fifth moment based on position changes of the first centroid position, the second centroid position, and the third centroid position in the horizontal direction;
determining a movement acceleration of the first object corresponding to a vertical direction at the fifth moment based on position changes of the first centroid position, the second centroid position, and the third centroid position in the vertical direction;
determining a third plane of the first object at the third moment, a fourth plane of the first object at the fourth moment, and a fifth plane of the first object at the fifth moment, and determining a movement acceleration of the first object corresponding to a depth direction at the fifth moment based on changes in area of the third plane, the fourth plane, and the fifth plane; and
combining the movement acceleration of the first object corresponding to the horizontal direction, the movement acceleration of the first object corresponding to the vertical direction, and the movement acceleration corresponding to the depth direction at the fifth moment, to obtain the first movement acceleration of the first object at the fifth moment.

### Claim 18 (depends on 12)

The electronic device of claim 12, wherein determining the detection result for the first object based on the similarity comprises:
determining a sixth moment corresponding to the similarity being greater than a similarity threshold, and determining a number of sixth moments; and
determining, in the case that the number of sixth moments is greater than a number threshold, that the detection result is that the first object is liveness.

### Claim 19 (depends on 12)

The electronic device of claim 12, wherein the processor is further configured to execute the computer-executable instructions or the computer program stored in the memory to:
before the response to the first detection request for the first object, in response to a detection start request of the detection device, generate a service identifier of an object detection service and a detection box set based on a device identifier of the detection device, and send the service identifier and the detection box set to the detection device, wherein the detection box set comprises at least two detection boxes, and different detection boxes correspond to different third position data; and
in response to a second detection request of the detection device for a first detection box, in the case of determining that a display position of the first object in the first detection box matches a preset position, send a detection instruction to the detection device, so that the detection device continues to trigger a third detection request for a second detection box based on the detection instruction until the detection device completes detection of the first object, and acquire the first detection request for the first object.

### Claim 20

A computer-readable storage medium having stored thereon computer-executable instructions or a computer program that when executed by a processor, implement or implements an object detection method, the object detection method comprising:
determining, in response to a first detection request for a first object, first position data of a key part of the first object at each moment and second position data of a detection device at each moment while the detection device detects the first object;
determining first action data of the first object at each moment based on the first position data, and determining second action data of the detection device at each moment based on the second position data; and
determining a similarity between the first action data and the second action data at a same moment, and determining a detection result for the first object based on the similarity.
