1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-21 06:11:09 +08:00

new windows compile warning fixed

This commit is contained in:
jaco
2014-08-21 15:35:34 +02:00
parent 07e66a4b4a
commit 9462b818c7

View File

@@ -62,16 +62,6 @@ static void help()
<< endl;
}
inline float calcOverlap( Rect a, Rect b )
{
Rect rectIntersection = a & b;
Rect rectUnion = a | b;
float iArea = rectIntersection.width * rectIntersection.height;
float uArea = rectUnion.width * rectUnion.height;
float overlap = iArea / uArea;
return overlap;
}
int main( int argc, char** argv )
{
CommandLineParser parser( argc, argv, keys );