Skip to content

Commit 0e1db26

Browse files
committed
fixed get convex hull area
1 parent a5eb474 commit 0e1db26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/BlobOperators.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ double CBlobGetHullArea::operator()(CBlob &blob)
7171
blob.GetConvexHull(convexHull);
7272
double area;
7373

74-
if( convexHull.size()==0 )
74+
if( convexHull.size() )
7575
area = fabs(contourArea(convexHull[0],true));
7676
else
7777
return 0;

0 commit comments

Comments
 (0)