From 09f6462fb47f8b261061cb60309dfed1d591d951 Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Wed, 21 Jun 2017 16:33:57 +0200 Subject: [PATCH] Closedown --- script/LedDetection.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script/LedDetection.py b/script/LedDetection.py index 5487440..6e53ce5 100644 --- a/script/LedDetection.py +++ b/script/LedDetection.py @@ -115,8 +115,9 @@ def detect_led(ip): #aux = get_channel(aux, "blue") invert(aux) - #subtract_background(aux) - auto_threshold(aux) + #subtract_background(aux) + #Tested ok: Mean, MaxEntropy, MaxEntropy, Percentile, RenyiEntropy, Triangle, Yen + auto_threshold(aux, method = "Yen") #binary_open(aux) (results,output) = analyse_particles(aux, 250,1000, fill_holes = True, exclude_edges = False, print_table=False,