We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f3044b + 0e1db26 commit 354592dCopy full SHA for 354592d
library/BlobOperators.cpp
@@ -71,7 +71,7 @@ double CBlobGetHullArea::operator()(CBlob &blob)
71
blob.GetConvexHull(convexHull);
72
double area;
73
74
- if( convexHull.size()==0 )
+ if( convexHull.size() )
75
area = fabs(contourArea(convexHull[0],true));
76
else
77
return 0;
0 commit comments