IP Library Granted Patent US 12,249,183
Granted Patent B2
US 12,249,183 · App. 17/687,432 · Granted Mar 11, 2025

Apparatus and method for detecting facial pose, image processing system, and storage medium

Inventors: Qiao Wang (Beijing, CN); Deyu Wang (Beijing, CN); Kotaro Kitajima (Kanagawa, JP); Naoko Watazawa (Tokyo, JP); Tsewei Chen (Tokyo, JP); Wei Tao (Beijing, CN); Dongchao Wen (Beijing, CN)
Assignee: Canon Kabushiki Kaisha
G06V40/174G06V10/243G06V10/7715G06V10/82G06V40/164G06V40/165G06V40/169G06V2201/07
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 12,249,183
App. No.
17/687,432
Granted
Mar 11, 2025
Kind
B2
Abstract

The present disclosure discloses an apparatus and a method for detecting a facial pose, an image processing system, and a storage medium. The apparatus comprises: an obtaining unit to obtain at least three keypoints of at least one face from an input image based on a pre-generated neural network, wherein coordinates of the keypoints obtained via a layer in the neural network for obtaining coordinates are three-dimensional coordinates; and a determining unit to determine, for the at least one face, a pose of the face based on the obtained keypoints, wherein the determined facial pose includes at least an angle. According to the present disclosure, the accuracy of the three-dimensional coordinates of the facial keypoints can be improved, thus the detection precision of a facial pose can be improved.

Claims (46)

1. An apparatus for detecting a facial pose, comprising:

an obtaining unit configured to obtain at least three keypoints of at least one face from an input image based on a neural network, wherein coordinates of the keypoints obtained via a layer in the neural network for obtaining coordinates are three-dimensional coordinates, wherein for the at least one face, the obtaining unit further obtains a pose of the face based on the neural network;

a determining unit configured to determine, for the at least one face, a pose of the face based on the obtained keypoints, wherein the determined facial pose includes at least an angle in one dimension; and

an updating unit configured to update, for the at least one face, the determined facial pose based on the obtained facial pose and weights obtained from the neural network.

2. The apparatus according to claim 1 , wherein in a case where the input image includes faces of different scales, the obtaining unit obtains at least three keypoints of each face simultaneously based on the neural network.

3. The apparatus according to claim 2 , wherein the neural network is pre-generated by:

acquiring a sample image in which faces are labeled with keypoints and acquiring predefined reference regions that can cover the faces in the sample image; wherein the sample image includes at least one face, wherein for a face, at least three keypoints are labeled, and coordinates of the labeled keypoints are three-dimensional coordinates; wherein coordinates of center points of the predefined reference regions are three-dimensional coordinates;

obtaining predicted keypoints of each face for the sample image via the neural network based on the predefined reference regions; and

updating the neural network based on a loss function value, wherein the loss function value is determined based on the labeled keypoints of each face and the predicted keypoints of each face.

4. The apparatus according to claim 1 , wherein the determining unit comprises:

a vector determining unit configured to determine, for the at least one face, a normal vector of the face based on the obtained keypoints; and

a pose estimating unit configured to estimate, for the at least one face, the pose of the face based on the normal vector of the face.

5. The apparatus according to claim 4 , wherein for the at least one face, in a case where the obtaining unit obtains three keypoints of the face, the three keypoints are capable of representing an orientation of the face.

6. The apparatus according to claim 4 , wherein for the at least one face, in a case where the obtaining unit obtains more than three keypoints of the face, the vector determining unit configured to:

select keypoints that are capable of representing an orientation of the face from the obtained keypoints; and

determine the normal vector of the face based on the selected keypoints.

7. The apparatus according to claim 4 , wherein the pose estimating unit configured to:

estimate a yaw angle and a pitch angle of the face respectively based on the normal vector of the face; and

estimate a roll angle of the face based on the normal vector and the estimated yaw angle and pitch angle of the face.

8. The apparatus according to claim 1 , wherein the neural network is pre-generated by:

acquiring a sample image in which faces are labeled with keypoints and poses and acquiring predefined reference regions that can cover the faces in the sample image; wherein the sample image includes at least one face; wherein for a face, at least three keypoints are labeled, and coordinates of the labeled keypoints are three-dimensional coordinates, and the labeled pose includes at least an angle in one dimension; wherein coordinates of center points of the predefined reference regions are three-dimensional coordinates;

obtaining predicted keypoints and predicted pose of each face for the sample image via the neural network based on the predefined reference regions;

updating a portion in the neural network that is used to obtain the predicted keypoints of the face based on a first loss function value and updating a portion in the neural network that is used to obtain the predicted pose of the face based on a second loss function value, wherein the first loss function value is determined based on the labeled keypoints of each face and the predicted keypoints of each face, and the second loss function value is determined based on the labeled pose of each face and the predicted pose of each face.

9. A method for detecting a facial pose comprising:

obtaining at least three keypoints of at least one face from an input image based on a pre-generated neural network, wherein coordinates of the keypoints obtained via a layer in the neural network for obtaining coordinates are three-dimensional coordinates, wherein for the at least one face, the obtaining unit further obtains a pose of the face based on the neural network;

determining, for the at least one face, a pose of the face based on the obtained keypoints, wherein the determined facial pose includes at least an angle in one dimension; and

an updating unit configured to update, for the at least one face, the determined facial pose based on the obtained facial pose and weights obtained from the neural network.

10. The method according to claim 9 , wherein in a case where the input image includes faces of different scales, in the obtaining of keypoints, at least three keypoints of each face are obtained simultaneously based on the neural network.

11. The method according to claim 9 , wherein the determining of the pose of the face comprises:

determining, for the at least one face, a normal vector of the face based on the obtained keypoints; and

estimating, for the at least one face, the pose of the face based on the normal vector of the face.

12. The method according to claim 9 , wherein for the at least one face, in the obtaining of the at least three keypoints, a pose of the face is further obtained based on the neural network.

13. The method according to claim 12 , the method further comprises:

updating, for the at least one face, the determined facial pose based on the obtained facial pose and weights obtained from the neural network.

14. An image processing system comprises:

an image acquisition apparatus for acquiring an image including at least one face;

an apparatus for detecting a facial pose, comprising:

an obtaining unit configured to obtain at least three keypoints of at least one face from the acquired image based on a neural network, wherein coordinates of the keypoints obtained via a layer in the neural network for obtaining coordinates are three-dimensional coordinates, wherein for the at least one face, the obtaining unit further obtains a pose of the face based on the neural network;

a determining unit configured to determine, for the at least one face, a pose of the face based on the obtained keypoints, wherein the determined facial pose includes at least an angle in one dimension;

an updating unit configured to update, for the at least one face, the determined facial pose based on the obtained facial pose and weights obtained from the neural network; and

a post-processing apparatus to perform a corresponding post-processing based on the detected facial pose,

wherein the image acquisition apparatus and the post-processing apparatus are connected to the apparatus for detecting a facial pose via a network.

15. A non-transitory computer-readable storage medium for storing instructions which, when executed by a processor, can cause a facial pose detection to be performed, the instructions comprising:

obtaining at least three keypoints of at least one face from an input image based on a pre-generated neural network; wherein coordinates of the keypoints obtained via a layer in the neural network for obtaining coordinates are three-dimensional coordinates, wherein for the at least one face, a pose of the face based on the neural network is further obtained;

determining, for the at least one face, a pose of the face based on the obtained keypoints; wherein the determined facial pose includes at least an angle in one dimension; and

updating, for the at least one face, the determined facial pose based on the obtained facial pose and weights obtained from the neural network.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 10, 2023
From: WANG, QIAO; WANG, DEYU; KITAJIMA, KOTARO; WATAZAWA, NAOKO; CHEN, TSEWEI; TAO, WEI; WEN, DONGCHAO
To: CANON KABUSHIKI KAISHA
Reel/Frame 063052/0837 →
Priority Claims (1)
CN 202110262393.3 · Mar 10, 2021 · national
Continuity (1)
Related Publication 20220292878A1 · Sep 15, 2022
References Cited (23)
US 11039075B1 · Almehmadi · 2021 [cited by examiner]
US 11488293B1 · Guo · 2022 [cited by examiner]
US 20180097972A1 · Bourret · 2018 [cited by examiner]
US 20190019014A1 · Ye · 2019 [cited by examiner]
US 20190279393A1 · Ciuc · 2019 [cited by examiner]
US 20200265604A1 · Lin · 2020 [cited by examiner]
US 20210004619A1 · Qin · 2021 [cited by examiner]
US 20210056291A1 · Doublet · 2021 [cited by examiner]
US 20210248358A1 · Lee · 2021 [cited by examiner]
US 20210397859A1 · Arora · 2021 [cited by examiner]
US 20220005266A1 · Glazistov · 2022 [cited by examiner]
US 20220027602A1 · Zhou · 2022 [cited by examiner]
US 20220076000A1 · Yang · 2022 [cited by examiner]
US 20220138454A1 · Zhao · 2022 [cited by examiner]
US 20220180627A1 · Zhao · 2022 [cited by examiner]
US 20220270398A1 · Takahashi · 2022 [cited by examiner]
US 20220318597A1 · Yu · 2022 [cited by examiner]
US 20230166157A1 · Kim · 2023 [cited by examiner]
US 20230206488A1 · Puri · 2023 [cited by examiner]
JP 2020177605 · 2020 [cited by examiner]
JP 2020177605A · 2020 [cited by applicant]
Ramos “Foundation of Robotics”, UTEC, 2018 (Year: 2018). [cited by examiner]
Adrian Bulat, et al., How far are we from solving the 2D & 3D Face Alignment problem? (and a dataset of 230,000 3D facial landmarks), 2017 IEEE International Conference on Computer Vision (ICCV), https://arxiv.org/pdf/1… [cited by applicant]