From f4b29345f756730b636b4dd6ffc85ec528e93fe1 Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Mon, 19 Sep 2016 16:09:12 +0200 Subject: [PATCH] Script execution --- script/local.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/local.py b/script/local.py index b23c823..453c83f 100644 --- a/script/local.py +++ b/script/local.py @@ -37,7 +37,7 @@ def detect_pucks(ip): binary_fill_holes(aux) return analyse_particles(aux, 10000,50000, fill_holes = False, exclude_edges = True,print_table=True, - output_image = "outlines", minCirc = 0.4, maxCirc = 1.0) + output_image = "outlines", minCirc = 0.1, maxCirc = 1.0) def detect_samples(ip): aux = grayscale(ip, in_place=False) @@ -47,7 +47,7 @@ def detect_samples(ip): binary_open(aux) return analyse_particles(aux, 250,1000, fill_holes = False, exclude_edges = True,print_table=True, - output_image = "outlines", minCirc = 0.7, maxCirc = 1.0) + output_image = "outlines", minCirc = 0.1, maxCirc = 1.0) r,g,b = [0]*256,[0]*256,[0]*256