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:
@@ -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))
|
||||
|
Reference in New Issue
Block a user