Questions tagged [facial-landmark-alignment]
24 questions
14
votes
6 answers
Python: How to get Face Mesh landmarks coordinates in MediaPipe?
I'm trying to get a list with landmark coordinates with MediaPipe's Face Mesh. For example: Landmark[6]: (0.36116672, 0.93204623, 0.0019629495)
I cant find the way to do that and would appreciate the help.

אופק ט
- 141
- 1
- 1
- 6
4
votes
0 answers
What is Reference Facial Points and how are they created?
I'm trying to use face.evoLVe library, which is high-performance Face Recognition Library in PyTorch. Going through the codes, I encountered a list of coordinates named REFERENCE_FACIAL_POINTS which is :
REFERENCE_FACIAL_POINTS = [ # default…

Hossein
- 24,202
- 35
- 119
- 224
3
votes
0 answers
Mediapipe Face Mesh landmarks visibility and presence attribute values are always 0
I'm working with mediapipe face mesh landmarks model. What I want is to find the 468 landmarks for a face and then filter out any faces with occluded landmarks. The model has these attributes defined as landmarks 'visibility' and 'presence'. But…

waleed raza
- 31
- 2
2
votes
1 answer
Align X and Y coordinates of face landmarks in R
here is a reprex example (sorry it's a bit long but needed to demonstrate the issue )
reprex<- structure(list(lanmark_id = c(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
27, 28, 29, 30, 31, 32,…

Myriad
- 341
- 1
- 8
2
votes
1 answer
Coordinates extracted from mediapipe are always same
I am trying to extract coordinates of all features from the mediapipe library using face mesh but for every image that I am testing it's giving the same coordinates. I don't understand what's wrong here. If anyone could help, it would be great!
…

Raghav Kavimandan
- 57
- 5
2
votes
1 answer
How to remove background and video from facial landmarks
Im using this code to detect teh 468 facial landmarks from a face:
import cv2
import mediapipe as mp
import time
cap = cv2.VideoCapture(0)
pTime = 0
mpDraw = mp.solutions.drawing_utils
mpFaceMesh = mp.solutions.face_mesh
faceMesh =…

theMonsterCoder
- 23
- 2
2
votes
2 answers
landmark detection vs face recognition
Is face landmark detection does the same thing has face recognition?
Or are they 2 diff things? If yes, how they differ from each other?
Any clarification would be appreciate it. Thank you in advance & take care everyone

Emely
- 23
- 3
1
vote
1 answer
Image data cannot be converted to float error?
I am trying to detect face and return an img corresponding landmarks after face alignment. this is my code:
def getIthFrame(self, i):
img = self.data.get_data(i)
raw_img = Image.fromarray(img)
w, h = raw_img.size
if…

Amen Younes
- 11
- 1
1
vote
0 answers
mediapipe modifying face landmark subgraph problem
I want to modify facemesh example and implement another face_landmark model. I've explored face_landmark module, in face_landmark_gpu subgraph there are some node that made me confused.
As far as I know, face_landmark_gpu is responsible for getting…

Milad Yousefi
- 191
- 2
- 9
1
vote
1 answer
How to calculate length between left eye and right eye using google face API face landmarks in android?
How to calculate length between left eye and right eye using google face API face landmarks in android using the Camera?

Sri Purushotham
- 11
- 5
1
vote
1 answer
Get landmark points for ARSCNFaceGeometry
I need to get the points of lips and chin in ARKit but ARSCNFaceGeometry provides the data of complete mesh of face. Can you let me know how can I get points of only lips and chin from the all the vertices available in…

Aqeel Raza
- 1,729
- 4
- 15
- 24
0
votes
1 answer
How do I align 3D landmark data to a Procrustes fit in R?
I'm using the r package called Morpho to create predicted soft tissue nose shapes for populations using the underlying hard tissue (bone). https://cran.r-project.org/web/packages/Morpho/Morpho.pdf
Using guidelines provided by the PhD of author of…
0
votes
1 answer
Extracted Facial Region using DLIB contain noise
Greeting,
I have been trying to extract some regions from the face
In this case (upper lip) using Dlib, the thing is after extracting the ROI (which look perfect) I realized that there is some noise around the ROI
Can't figure out what I'm doing…

Capito
- 5
- 6
0
votes
1 answer
How to calculate NME(Normalized Mean Error) between ground-truth and predicted landmarks when some of gt has no corresponding in predicted?
I am trying to learn some facial landmark detection model, and notice that many of them use NME(Normalized Mean Error) as performance metric:
The formula is straightforward, it calculate the l2 distance between ground-truth points and model…

user8510613
- 1,242
- 9
- 27
0
votes
1 answer
How to detect landmarks of a face including forehead?
This tutorial teaches how to detect landmarks of a face.
Here, there are no landmarks for the forehead. What can I do so that the landmarks also detect the forehead?

NITIN AGARWAL
- 131
- 3