Fixed some build warnings; slightly improved python search

This commit is contained in:
Andrey Kamaev
2012-03-02 08:34:54 +00:00
parent 30d5cdef94
commit 2f4bb580fc
6 changed files with 81 additions and 67 deletions

View File

@@ -117,7 +117,7 @@ int main(int argc, const char ** argv)
Mat outimg;
drawMatches(im2, kpts_2, im1, kpts_1, matches_popcount, outimg, Scalar::all(-1), Scalar::all(-1),
reinterpret_cast<const vector<char>&> (outlier_mask));
*(const vector<char>*)(void*)(&outlier_mask));
imshow("matches - popcount - outliers removed", outimg);
Mat warped;