Using this code I can get a rectangle of a face:
std::vector<rect> faces;
//-- Detect faces
face_cascade.detectMultiScale( frame_gray, faces, 1.1, 2, 0|CASCADE_SCALE_IMAGE, Size(200, 200) );
How can I get an contour of a face?
1 | initial version |
Using this code I can get a rectangle of a face:
std::vector<rect> faces;
//-- Detect faces
face_cascade.detectMultiScale( frame_gray, faces, 1.1, 2, 0|CASCADE_SCALE_IMAGE, Size(200, 200) );
How can I get an contour of a face?
2 | retagged |
Using this code I can get a rectangle of a face:
std::vector<rect> faces;
//-- Detect faces
face_cascade.detectMultiScale( frame_gray, faces, 1.1, 2, 0|CASCADE_SCALE_IMAGE, Size(200, 200) );
How can I get an contour of a face?