diff --git a/script/LedDetection.py b/script/LedDetection.py index 0a5a120..7cc957d 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: Huang, Mean, MaxEntropy, MaxEntropy, Percentile, RenyiEntropy, Triangle, Yen - auto_threshold(aux, method = "MaxEntropy") + #Tested ok: Huang, Mean, MaxEntropy, Percentile, Triangle, Yen + auto_threshold(aux, method = "Percentile") #binary_open(aux) (results,output) = analyse_particles(aux, 250,1000, fill_holes = True, exclude_edges = False, print_table=False,