IP Library Granted Patent US 12670741
Granted Patent B2
US 12670741 · App. 18/766,447 · Granted Jun 30, 2026

Palm contour extraction method and apparatus, and control instruction generation method and apparatus

Inventors: Zhiqiang Zhang (Shenzhen, CN); Runzeng Guo (Shenzhen, CN); Shaoming Wang (Shenzhen, CN); Xiaoyi Zhang (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
G06V40/11G06F3/01G06Q20/40G06T13/80G06V10/443G06V10/457G06V10/46Y02P90/30
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12670741
App. No.
18/766,447
Granted
Jun 30, 2026
Kind
B2
Abstract

This application provides a palm contour extraction method performed by a computer device. The method includes: obtaining bone point information respectively corresponding to palm bone points in a target palm image, the bone point information including bone point positions and bone point types; matching the palm bone points based on the bone point positions and the bone point types, to obtain a plurality of palm bone point sets, each palm bone point set having a corresponding geometry processing type for a corresponding set of palm bone points in the target palm image; determining a plurality of palm contour points from the plurality of palm bone point sets based on their respective geometry processing type; and generating a palm contour corresponding to the target palm image based on the plurality of palm contour points.

Claims (75)

1 . A palm contour extraction method performed by a computer device, the method comprising:

collecting a still palm image of a user as a target palm image;

obtaining bone point information respectively corresponding to palm bone points in the target palm image, the bone point information comprising bone point positions and bone point types;

matching the palm bone points based on the bone point positions and the bone point types, to obtain a plurality of palm bone point sets, each palm bone point set having a corresponding geometry processing type for a corresponding set of palm bone points in the target palm image;

determining a plurality of palm contour points from the plurality of palm bone point sets based on their respective geometry processing type;

generating a palm contour corresponding to the target palm image based on the plurality of palm contour points;

performing identity verification of the user based on the target palm image when a position difference between a display position of the palm contour and a target display position is less than a preset threshold; and

generating palm movement prompt information to the user when the position difference is greater than or equal to the preset threshold.

2 . The method according to claim 1 , wherein the bone point type is determined by a finger parameter and an intra-finger joint parameter, and the matching the palm bone points based on the bone point positions and the bone point types, to obtain a plurality of palm bone point sets comprises:

establishing a matching relationship between adjacent palm bone points whose intra-finger joint parameter is a preset joint parameter, to obtain palm bone point sets corresponding to a first geometry processing type;

establishing a matching relationship between adjacent palm bone points corresponding to the same finger parameter, to obtain palm bone point sets corresponding to a second geometry processing type; and

using a palm bone point corresponding to a preset bone point type as a preset bone point, and establishing a matching relationship between the preset bone point and a palm bone point closest to the preset bone point, to obtain a palm bone point set corresponding to a third geometry processing type.

3 . The method according to claim 1 , wherein the determining a plurality of palm contour points from the plurality of palm bone point sets based on their respective geometry processing type further comprises:

generating, based on the bone point positions corresponding to the bone points in each palm bone point set, a palm contour auxiliary line matching the geometry processing type of the palm bone point set, to obtain palm contour auxiliary lines respectively corresponding to the palm bone point sets; and

determining one or more palm contour points from each palm bone point set based on a reference step size corresponding to the palm bone point set.

4 . The method according to claim 3 , wherein the generating, based on the bone point positions corresponding to the bone points in each palm bone point set, a palm contour auxiliary line matching the geometry processing type of the palm bone point set, to obtain palm contour auxiliary lines respectively corresponding to the palm bone point sets comprises:

determining a current auxiliary line type based on a geometry processing type corresponding to a current palm bone point set;

generating a current bone point line segment corresponding to the current palm bone point set based on the bone point positions corresponding to the palm bone points in the current palm bone point set; and

performing geometry processing on the current bone point line segment based on the current auxiliary line type, to obtain a palm contour auxiliary line corresponding to the current palm bone point set and belonging to the current auxiliary line type.

5 . The method according to claim 3 , wherein the reference step size updates in accordance with palm size information corresponding to the target palm image.

6 . The method according to claim 1 , further comprising:

generating a palm animation in accordance with a movement of the palm contour corresponding to the target palm image.

7 . The method according to claim 1 , wherein the determining one or more palm contour points from each palm bone point set based on a reference step size corresponding to the palm bone point set comprises:

generating, based on the bone point positions corresponding to the bone points in a current palm bone point set, a current bone point line segment corresponding to the current palm bone point set;

determining a reference point from the current bone point line segment; and

moving, with the reference point as a start point, the reference step size corresponding to the current palm bone point set on a current palm contour auxiliary line corresponding to the current palm bone point set according to a movement direction corresponding to the current palm contour auxiliary line, to obtain a current palm contour point and a contour point position corresponding to the current palm contour point.

8 . The method according to claim 1 , wherein each palm bone point has a corresponding bone point identifier, and the generating a palm contour corresponding to the target palm image based on the plurality of palm contour points comprises:

mapping the bone point identifiers corresponding to the palm bone points based on preset mapping information, to obtain contour point sorting identifiers corresponding to the palm contour points, wherein the preset mapping information comprises an identifier mapping relationship between the palm bone points in a palm bone point set and the palm contour points generated based on the palm bone point set; and

connecting the palm contour points in an order according to the contour point sorting recognizers, to obtain the palm contour corresponding to the target palm image.

9 . A computer device, comprising a memory and one or more processors, the memory having computer-readable instructions stored therein, and the computer-readable instructions, when executed by the one or more processors, causing the computer device to perform a palm contour extraction method including:

collecting a still palm image of a user as a target palm image;

obtaining bone point information respectively corresponding to palm bone points in the target palm image, the bone point information comprising bone point positions and bone point types;

matching the palm bone points based on the bone point positions and the bone point types, to obtain a plurality of palm bone point sets, each palm bone point set having a corresponding geometry processing type for a corresponding set of palm bone points in the target palm image;

determining a plurality of palm contour points from the plurality of palm bone point sets based on their respective geometry processing type;

generating a palm contour corresponding to the target palm image based on the plurality of palm contour points;

performing identity verification of the user based on the target palm image when a position difference between a display position of the palm contour and a target display position is less than a preset threshold; and

generating palm movement prompt information to the user when the position difference is greater than or equal to the preset threshold.

10 . The computer device according to claim 9 , wherein the bone point type is determined by a finger parameter and an intra-finger joint parameter, and the matching the palm bone points based on the bone point positions and the bone point types, to obtain a plurality of palm bone point sets comprises:

establishing a matching relationship between adjacent palm bone points whose intra-finger joint parameter is a preset joint parameter, to obtain palm bone point sets corresponding to a first geometry processing type;

establishing a matching relationship between adjacent palm bone points corresponding to the same finger parameter, to obtain palm bone point sets corresponding to a second geometry processing type; and

using a palm bone point corresponding to a preset bone point type as a preset bone point, and establishing a matching relationship between the preset bone point and a palm bone point closest to the preset bone point, to obtain a palm bone point set corresponding to a third geometry processing type.

11 . The computer device according to claim 9 , wherein the determining a plurality of palm contour points from the plurality of palm bone point sets based on their respective geometry processing type further comprises:

generating, based on the bone point positions corresponding to the bone points in each palm bone point set, a palm contour auxiliary line matching the geometry processing type of the palm bone point set, to obtain palm contour auxiliary lines respectively corresponding to the palm bone point sets; and

determining one or more palm contour points from each palm bone point set based on a reference step size corresponding to the palm bone point set.

12 . The computer device according to claim 11 , wherein the generating, based on the bone point positions corresponding to the bone points in each palm bone point set, a palm contour auxiliary line matching the geometry processing type of the palm bone point set, to obtain palm contour auxiliary lines respectively corresponding to the palm bone point sets comprises:

determining a current auxiliary line type based on a geometry processing type corresponding to a current palm bone point set;

generating a current bone point line segment corresponding to the current palm bone point set based on the bone point positions corresponding to the palm bone points in the current palm bone point set; and

performing geometry processing on the current bone point line segment based on the current auxiliary line type, to obtain a palm contour auxiliary line corresponding to the current palm bone point set and belonging to the current auxiliary line type.

13 . The computer device according to claim 11 , wherein the reference step size updates in accordance with palm size information corresponding to the target palm image.

14 . The computer device according to claim 9 , wherein the method further comprises:

generating a palm animation in accordance with a movement of the palm contour corresponding to the target palm image.

15 . The computer device according to claim 9 , wherein the determining one or more palm contour points from each palm bone point set based on a reference step size corresponding to the palm bone point set comprises:

generating, based on the bone point positions corresponding to the bone points in a current palm bone point set, a current bone point line segment corresponding to the current palm bone point set;

determining a reference point from the current bone point line segment; and

moving, with the reference point as a start point, the reference step size corresponding to the current palm bone point set on a current palm contour auxiliary line corresponding to the current palm bone point set according to a movement direction corresponding to the current palm contour auxiliary line, to obtain a current palm contour point and a contour point position corresponding to the current palm contour point.

16 . The computer device according to claim 9 , wherein each palm bone point has a corresponding bone point identifier, and the generating a palm contour corresponding to the target palm image based on the plurality of palm contour points comprises:

mapping the bone point identifiers corresponding to the palm bone points based on preset mapping information, to obtain contour point sorting identifiers corresponding to the palm contour points, wherein the preset mapping information comprises an identifier mapping relationship between the palm bone points in a palm bone point set and the palm contour points generated based on the palm bone point set; and

connecting the palm contour points in an order according to the contour point sorting recognizers, to obtain the palm contour corresponding to the target palm image.

17 . A non-transitory computer-readable storage medium, having computer-readable instructions stored therein, the computer-readable instructions, when executed by one or more processors of a computer device, causing the computer device to perform a palm contour extraction method including:

collecting a still palm image of a user as a target palm image;

obtaining bone point information respectively corresponding to palm bone points in the target palm image, the bone point information comprising bone point positions and bone point types;

matching the palm bone points based on the bone point positions and the bone point types, to obtain a plurality of palm bone point sets, each palm bone point set having a corresponding geometry processing type for a corresponding set of palm bone points in the target palm image;

determining a plurality of palm contour points from the plurality of palm bone point sets based on their respective geometry processing type;

generating a palm contour corresponding to the target palm image based on the plurality of palm contour points;

performing identity verification of the user based on the target palm image when a position difference between a display position of the palm contour and a target display position is less than a preset threshold; and

generating palm movement prompt information to the user when the position difference is greater than or equal to the preset threshold.

18 . The non-transitory computer-readable storage medium according to claim 17 , wherein the method further comprises:

generating a palm animation in accordance with a movement of the palm contour corresponding to the target palm image.

19 . The non-transitory computer-readable storage medium according to claim 17 , wherein the determining one or more palm contour points from each palm bone point set based on a reference step size corresponding to the palm bone point set comprises:

generating, based on the bone point positions corresponding to the bone points in a current palm bone point set, a current bone point line segment corresponding to the current palm bone point set;

determining a reference point from the current bone point line segment; and

moving, with the reference point as a start point, the reference step size corresponding to the current palm bone point set on a current palm contour auxiliary line corresponding to the current palm bone point set according to a movement direction corresponding to the current palm contour auxiliary line, to obtain a current palm contour point and a contour point position corresponding to the current palm contour point.

20 . The non-transitory computer-readable storage medium according to claim 17 , wherein each palm bone point has a corresponding bone point identifier, and the generating a palm contour corresponding to the target palm image based on the plurality of palm contour points comprises:

mapping the bone point identifiers corresponding to the palm bone points based on preset mapping information, to obtain contour point sorting identifiers corresponding to the palm contour points, wherein the preset mapping information comprises an identifier mapping relationship between the palm bone points in a palm bone point set and the palm contour points generated based on the palm bone point set; and

connecting the palm contour points in an order according to the contour point sorting recognizers, to obtain the palm contour corresponding to the target palm image.