1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-21 06:11:09 +08:00

Updated internal calls to linear resize to use bit-exact version

This commit is contained in:
Vitaly Tuzov
2017-12-01 13:10:59 +03:00
parent b0fc85b1a4
commit 8c394a4f2e
52 changed files with 80 additions and 75 deletions

View File

@@ -72,7 +72,7 @@ int main(int argc,char** argv){
facemark->loadModel(filename);
cout<<"Loaded model"<<endl;
vector<Rect> faces;
resize(img,img,Size(460,460));
resize(img,img,Size(460,460), 0, 0, INTER_LINEAR_EXACT);
facemark->getFaces(img,faces);
vector< vector<Point2f> > shapes;
if(facemark->fit(img,faces,shapes))