From c71614c5771c731c95b6dca01ac79cf8a38b5253 Mon Sep 17 00:00:00 2001
From: Alessia Saccardo <s212246@dtu.dk>
Date: Mon, 29 Apr 2024 12:10:01 +0200
Subject: [PATCH] Fix error in examples

---
 qim3d/io/downloader.py        | 2 +-
 qim3d/processing/detection.py | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/qim3d/io/downloader.py b/qim3d/io/downloader.py
index 32ea5489..0c347a6c 100644
--- a/qim3d/io/downloader.py
+++ b/qim3d/io/downloader.py
@@ -23,7 +23,7 @@ class Downloader:
         import qim3d
         
         dl = qim3d.io.Downloader()
-        img = dl.Corals.Coral2_DOWNSAMPLED(load = True)
+        img = dl.Corals.Coral2_DOWNSAMPLED(load_file = True)
         ```
     """
 
diff --git a/qim3d/processing/detection.py b/qim3d/processing/detection.py
index 94136e09..b1397e4e 100644
--- a/qim3d/processing/detection.py
+++ b/qim3d/processing/detection.py
@@ -122,6 +122,10 @@ class Blob:
                 background="bright"
                 )
 
+                
+            # Detect blobs
+            blobs = blob_detector.detect(vol_blurred)
+
             # Get mask and visualize
             mask = blob_detector.get_mask()
             qim3d.viz.slicer(mask)
-- 
GitLab