IP Library Granted Patent US 11,610,389
Granted Patent B2
US 11,610,389 · App. 17/201,665 · Granted Mar 21, 2023

Method and apparatus for positioning key point, device, and storage medium

Inventors: Jian Wang (Beijing, CN); Zipeng Lu (Beijing, CN); Hao Sun (Beijing, CN); Hongwu Zhang (Beijing, CN); Shilei Wen (Beijing, CN); Errui Ding (Beijing, CN)
Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
G06V10/462G06F18/213G06N3/04G06T7/73G06V10/764G06V10/82G06T2207/20084G06T2207/30196G06V40/20
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 11,610,389
App. No.
17/201,665
Granted
Mar 21, 2023
Kind
B2
Abstract

A method and apparatus for positioning a key point, a device, and a storage medium are provided. The method may include: extracting a first feature map and a second feature map of a to-be-positioned image, the first feature map and the second feature map being different feature maps; determining, based on the first feature map, an initial position of a key point in the to-be-positioned image; determining, based on the second feature map, an offset of the key point; and adding the initial position of the key point with the offset of the key point to obtain a final position of the key point.

Claims (51)

1. A method for positioning a key point, comprising:

extracting a first feature map and a second feature map of a to-be-positioned image, the first feature map and the second feature map being different feature maps;

determining, based on the first feature map, an initial position of a key point in the to-be-positioned image;

determining, based on the second feature map, an offset of the key point; and

adding the initial position of the key point with the offset of the key point to obtain a final position of the key point,

wherein the extracting the first feature map and the second feature map of the to-be-positioned image comprises:

inputting a to-be-positioned feature map into a main network to output an initial feature map of the to-be-positioned image; and

inputting the initial feature map into a first sub-network and a second sub-network respectively to output the first feature map and the second feature map, wherein the first sub-network and the second sub-network are two different branches of the main network.

2. The method according to claim 1 , wherein the determining, based on the first feature map, the initial position of the key point in the to-be-positioned image comprises:

generating, based on the first feature map, a heat map of the key point in the to-be-positioned image; and

determining, based on a heat value of a point on the heat map, the initial position of the key point.

3. The method according to claim 2 , wherein the generating, based on the first feature map, the heat map of the key point in the to-be-positioned image comprises:

performing 1×1 convolution on the first feature map to obtain the heat map, wherein channels of the heat map correspond to key points one to one.

4. The method according to claim 1 , wherein the determining, based on the second feature map, the offset of the key point comprises:

extracting, based on the initial position of the key point, a feature from a corresponding position of the second feature map; and

performing offset regression by using the feature to obtain the offset of the key point.

5. An electronic device, comprising:

one or more processors; and

a storage apparatus storing one or more programs thereon,

the one or more programs, when executed by the one or more processors, causing the one or more processors to perform operations comprising:

extracting a first feature map and a second feature map of a to-be-positioned image, the first feature map and the second feature map being different feature maps;

determining, based on the first feature map, an initial position of a key point in the to-be-positioned image;

determining, based on the second feature map, an offset of the key point; and

adding the initial position of the key point with the offset of the key point to obtain a final position of the key point,

wherein the extracting the first feature map and the second feature map of the to-be-positioned image comprises:

inputting a to-be-positioned feature map into a main network to output an initial feature map of the to-be-positioned image; and

inputting the initial feature map into a first sub-network and a second sub-network respectively to output the first feature map and the second feature map, wherein the first sub-network and the second sub-network are two different branches of the main network.

6. The electronic device according to claim 5 , wherein the determining, based on the first feature map, the initial position of the key point in the to-be-positioned image comprises:

generating, based on the first feature map, a heat map of the key point in the to-be-positioned image; and

determining, based on a heat value of a point on the heat map, the initial position of the key point.

7. The electronic device according to claim 6 , wherein the generating, based on the first feature map, the heat map of the key point in the to-be-positioned image comprises:

performing 1×1 convolution on the first feature map to obtain the heat map, wherein channels of the heat map correspond to key points one to one.

8. The electronic device according to claim 5 , wherein the determining, based on the second feature map, the offset of the key point comprises:

extracting, based on the initial position of the key point, a feature from a corresponding position of the second feature map; and

performing offset regression by using the feature to obtain the offset of the key point.

9. A non-transitory computer readable medium, storing a computer program thereon, the computer program, when executed by a processor, causing the processor to perform operations comprising:

extracting a first feature map and a second feature map of a to-be-positioned image, the first feature map and the second feature map being different feature maps;

determining, based on the first feature map, an initial position of a key point in the to-be-positioned image;

determining, based on the second feature map, an offset of the key point; and

adding the initial position of the key point with the offset of the key point to obtain a final position of the key point,

wherein the extracting the first feature map and the second feature map of the to-be-positioned image comprises:

inputting a to-be-positioned feature map into a main network to output an initial feature map of the to-be-positioned image; and

inputting the initial feature map into a first sub-network and a second sub-network respectively to output the first feature map and the second feature map, wherein the first sub-network and the second sub-network are two different branches of the main network.

10. The non-transitory computer readable medium according to claim 9 , wherein the determining, based on the first feature map, the initial position of the key point in the to-be-positioned image comprises:

generating, based on the first feature map, a heat map of the key point in the to-be-positioned image; and

determining, based on a heat value of a point on the heat map, the initial position of the key point.

11. The non-transitory computer readable medium according to claim 10 , wherein the generating, based on the first feature map, the heat map of the key point in the to-be-positioned image comprises:

performing 1×1 convolution on the first feature map to obtain the heat map, wherein channels of the heat map correspond to key points one to one.

12. The non-transitory computer readable medium according to claim 9 , wherein the determining, based on the second feature map, the offset of the key point comprises:

extracting, based on the initial position of the key point, a feature from a corresponding position of the second feature map; and

performing offset regression by using the feature to obtain the offset of the key point.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 11, 2022
From: WANG, JIAN; LU, ZIPENG; SUN, HAO; ZHANG, HONGWU; WEN, SHILEI; DING, ERRUI
To: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
Reel/Frame 060786/0949 →
Priority Claims (1)
CN 202010538339.2 · Jun 12, 2020 · national
Continuity (1)
Related Publication 20210390731A1 · Dec 16, 2021