diff --git a/Q2main.py b/Q2main.py index 479cc66ee610b459513763353e21336f8e1fc396..efa8753675b8f6882522b77d3930eab69ecc3e1c 100644 --- a/Q2main.py +++ b/Q2main.py @@ -48,7 +48,7 @@ class ImageProcessor: return red_mask, yellow_mask, green_mask -def detect_blobs(mask, min_sigma=5, max_sigma=30, num_sigma = 10, threshold=0.2): +def detect_blobs(mask, min_sigma=25, max_sigma=50, num_sigma = 10, threshold=0.2): mask = mask.astype(np.float64) / 255.0 #print('mask made') blobs = blob_log(mask, min_sigma=min_sigma, max_sigma=max_sigma, num_sigma=num_sigma, threshold=threshold)