fixed some warnings on Windows

git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@425 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
matlabbe
2015-03-02 16:39:48 +00:00
parent 58f130fc62
commit 683acafa4a
6 changed files with 15 additions and 10 deletions
+2 -2
View File
@@ -127,7 +127,7 @@ int main(int argc, char * argv[])
////////////////////////////
// Find correspondences by NNDR (Nearest Neighbor Distance Ratio)
float nndrRatio = 0.6;
float nndrRatio = 0.6f;
std::vector<cv::Point2f> mpts_1, mpts_2; // Used for homography
std::vector<int> indexes_1, indexes_2; // Used for homography
std::vector<uchar> outlier_mask; // Used for homography
@@ -176,7 +176,7 @@ int main(int argc, char * argv[])
}
else
{
value = mpts_1.size();
value = (int)mpts_1.size();
}
}
else