joe
joe

Reputation: 51

Dlib facial landmark starting index

I'm using dlib to get facial landmark points , my question is about the

indexing , the reference figure of 68 landmark is starts from (1) ,

is dlib code Dlib facial landmarks starts from (0) ? so if I wanted to output left eye landmarks

using dlib should I start from (37) as the reference figure or (38) ?

enter image description here

Upvotes: 2

Views: 4651

Answers (2)

arash
arash

Reputation: 1

left eye landmarks are 36 to 41 in dlib some images that start from 1 is not correct dlib landmarks are from 0 to 67 which makes 68 points

Upvotes: -1

user4344563
user4344563

Reputation:

I have created an image and printed out the index numbers as they are with dlib and python here: http://cvdrone.de/dlib-facial-landmark-detection.html

Upvotes: 1

Related Questions