AIAS1/1_image_sdks/face_landmark_sdk
2024-11-25 10:43:10 +08:00
..
models no message 2024-11-25 10:43:10 +08:00
src no message 2024-11-25 10:43:10 +08:00
face_landmark_sdk.iml no message 2024-11-25 10:43:10 +08:00
pom.xml no message 2024-11-25 10:43:10 +08:00
README_CN.md no message 2024-11-25 10:43:10 +08:00
README_EN.md no message 2024-11-25 10:43:10 +08:00

Download the model and place it in the /models directory

Face Key Point SDK

Identify all face key points in the input image, with 68 key points detected for each face (17 points for the face contour, 5 points for each eyebrow, 6 points for each eye, 9 points for the nose, and 20 points for the mouth).

  • Key point definition landmark

SDK functions

  • Face key point detection (68 key points detected for each face)

Run Example - FaceLandmarkExample

  • Test image landmarks

After successful execution, the command line should display the following information:

[INFO ] - [-0.0155213205, 0.4801023, 0.0031973184,...,....,0.51944584, 0.7756358]
[INFO ] - [0.091941595, 0.3264855, 0.052257717,...,...., 0.23191518, 0.81276375]
[INFO ] - [0.026217185, 0.24056429, -0.0071445643,...,...., 0.5127686, 0.85029036]

[INFO ] -  Face landmarks detection result image has been saved in: build/output/face_landmarks.png

[INFO ] - [
	class: "Face", probability: 0.99995, bounds: [x=0.179, y=0.236, width=0.130, height=0.232]
	class: "Face", probability: 0.99989, bounds: [x=0.490, y=0.207, width=0.112, height=0.225]
	class: "Face", probability: 0.99984, bounds: [x=0.831, y=0.283, width=0.115, height=0.212]
]

Open Source Algorithms

1. Open source algorithms used by the SDK

2. How to export the model?