Another attempt at a fix.
This commit is contained in:
parent
ea370ae43f
commit
3a3b375197
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ namespace FaceAnalysis
|
||||||
|
|
||||||
destination_landmarks = cv::Mat(destination_landmarks.t()).reshape(1, 1).t();
|
destination_landmarks = cv::Mat(destination_landmarks.t()).reshape(1, 1).t();
|
||||||
|
|
||||||
PAW paw(destination_landmarks, triangulation, 0, 0, aligned_face.cols-1, aligned_face.rows-1);
|
FaceAnalysis::PAW paw(destination_landmarks, triangulation, 0, 0, aligned_face.cols-1, aligned_face.rows-1);
|
||||||
|
|
||||||
// Mask each of the channels (a bit of a roundabout way, but OpenCV 3.1 in debug mode doesn't seem to be able to handle a more direct way using split and merge)
|
// Mask each of the channels (a bit of a roundabout way, but OpenCV 3.1 in debug mode doesn't seem to be able to handle a more direct way using split and merge)
|
||||||
vector<cv::Mat> aligned_face_channels(aligned_face.channels());
|
vector<cv::Mat> aligned_face_channels(aligned_face.channels());
|
||||||
|
|
Loading…
Reference in a new issue