made FLANN (and dependent on it code) build fine on Windows. Most of the changes are added CV_EXPORTS' into the class declarations and extern variables are turned into external functions (as a nice side effect the variables are now read-only)
This commit is contained in:
@@ -171,7 +171,7 @@ locatePlanarObject( const CvSeq* objectKeypoints, const CvSeq* objectDescriptors
|
||||
findPairs( objectKeypoints, objectDescriptors, imageKeypoints, imageDescriptors, ptpairs );
|
||||
#endif
|
||||
|
||||
n = ptpairs.size()/2;
|
||||
n = (int)(ptpairs.size()/2);
|
||||
if( n < 4 )
|
||||
return 0;
|
||||
|
||||
|
Reference in New Issue
Block a user