From 173a74934c62e559d09f096dcb82bff848896bf3 Mon Sep 17 00:00:00 2001
From: Ihar Hubchyk <ihar.hubchyk@gmail.com>
Date: Sun, 17 Mar 2024 19:12:33 +0800
Subject: [PATCH] Fix compilation

---
 examples/blob_detection/example_blob_detection.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/blob_detection/example_blob_detection.cpp b/examples/blob_detection/example_blob_detection.cpp
index 2b81e653..95690226 100644
--- a/examples/blob_detection/example_blob_detection.cpp
+++ b/examples/blob_detection/example_blob_detection.cpp
@@ -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 );