How to get face blob with OpenCV (or other library)

I am currently researching to find a way to isolate the face BLOB. I used OpenCV in several occasions but mere rectangles in this situation are not enough, I need a descriptor of the area that covers the whole face. with hair or not is less important for the project. Is there any methods in OpenCV 2 or 3 that achieves this? And is there any OF addon that wraps this problem?
If this is not achievable with OpenCV I would like to know what else I could use.

One method I have in mind consists of finding the rectangle and perform segmentation in it (or the opposite: segment the image then select the blobs that are behind the rectangle/s). Does this make sense?


Maybe this can solve your problem:

1 Like