From 9965c92f77d0407c7a1110754ca2e0b64c8a187d Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Wed, 21 Jun 2017 16:37:30 +0200 Subject: [PATCH] Script execution --- script/LedDetection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/LedDetection.py b/script/LedDetection.py index 6e53ce5..0a5a120 100644 --- a/script/LedDetection.py +++ b/script/LedDetection.py @@ -116,8 +116,8 @@ def detect_led(ip): #aux = get_channel(aux, "blue") invert(aux) #subtract_background(aux) - #Tested ok: Mean, MaxEntropy, MaxEntropy, Percentile, RenyiEntropy, Triangle, Yen - auto_threshold(aux, method = "Yen") + #Tested ok: Huang, Mean, MaxEntropy, MaxEntropy, Percentile, RenyiEntropy, Triangle, Yen + auto_threshold(aux, method = "MaxEntropy") #binary_open(aux) (results,output) = analyse_particles(aux, 250,1000, fill_holes = True, exclude_edges = False, print_table=False,