How to detect cheek from face detection?

Using eyes, mouth and nose as reference point, how can i detect the position of cheek from a human face image?

 Accepted Answer

darova
darova on 25 Jun 2020
Try intersection of an eye and nose
See the scheme

9 Comments

hi thank you, but how do i impelement this into coding? do you have any idea on this?
What about this
I0 = imread('image.png');
eye = [118 42];
nose= [75 80];
cheek = [eye(1) nose(2)];
imshow(I0)
hold on
plot(eye(1),eye(2),'or','linew',3)
plot(nose(1),nose(2),'or','linew',3)
plot(cheek(1),cheek(2),'ob','linew',3)
hold off
the detection is on the head and only towards the left but it should be detecting both sides of cheeks. i think its almost there... thank you for your time and effort
Can you accept the answer?
Possible for you to explain the code to me? so that i canfind a way to make it perfect as it is not detecting the cheeks
honestly i can't, it's already as clear as possible. Maybe you have some questions?
eye = [118 42];
How did you obtain this value? and it is referring to both side of eyes?
cheek = [eye(1) nose(2)] what is the meaning of this? what does it do?
sorry, i am extremely new to matlab and image processing.
  • How did you obtain this value?
You said that you have points (coordinates of nose and eyes). I created some simple picture in paint and use cursor to find coordinates of eyes and nose
  • and it is referring to both side of eyes?
No, it's only one eye
  • cheek = [eye(1) nose(2)] what is the meaning of this? what does it do?
It takes X coordinate of eye and Y coordinate of nose. Simply intersection of horizontal and vertical lines
thats great...thank you!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!