Ask Your Question

Revision history [back]

in my opinion you need some extra lib to find facial landmarks like dlib

(as you can see on the image below) dlib gives you the points you need to cut the down part of the face (chin and cheeks)

image description

afterwards you can try to find forehead and hairs by using cv::grabCut

following links will be useful if you want to try my proposed way...