Skip to content

Commit

Permalink
Modernize the code (part 2) (#710)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihhub authored Mar 17, 2024
1 parent 034f0f6 commit 2a75789
Show file tree
Hide file tree
Showing 9 changed files with 380 additions and 356 deletions.
2 changes: 1 addition & 1 deletion examples/blob_detection/example_blob_detection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ int main( int argc, char * argv[] )
if ( !detection().empty() ) {
// okay, our image contains some blobs
// extract a biggest one
const Blob_Detection::BlobInfo & blob = detection.getBestBlob( Blob_Detection::BlobDetection::BY_SIZE );
const Blob_Detection::BlobInfo & blob = detection.getBestBlob( Blob_Detection::BlobDetection::BlobCriterion::BY_SIZE );

// clear image and draw contour of found blob
image.fill( 0 );
Expand Down
Loading

0 comments on commit 2a75789

Please sign in to comment.