Fixed some build warnings; slightly improved python search
This commit is contained in:
@@ -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;
|
||||
|
@@ -55,8 +55,6 @@ static void locate_point( Mat& img, Subdiv2D& subdiv, Point2f fp, Scalar active_
|
||||
{
|
||||
int e0=0, vertex=0;
|
||||
|
||||
CvSubdiv2DEdge e00;
|
||||
|
||||
subdiv.locate(fp, e0, vertex);
|
||||
|
||||
if( e0 > 0 )
|
||||
|
@@ -73,10 +73,9 @@ int main(int argc, char** argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
FILE* f;
|
||||
FILE* f = 0;
|
||||
VideoCapture cap;
|
||||
char test_file[20] = "";
|
||||
char dir[20] = "";
|
||||
|
||||
if (strcmp(argv[1], "live") != 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user