Script execution

This commit is contained in:
gac-S_Changer
2016-09-16 11:20:43 +02:00
parent 4aeeafb09d
commit 4959b8a815

View File

@@ -33,7 +33,6 @@ add_device(RobotTCP("robot_tcp", "127.0.0.1:3333"), force = True)
def detect_pucks(ip):
aux = grayscale(ip, in_place=False)
subtract_background(aux)
threshold(aux,0,50)
binary_fill_holes(aux)
return analyse_particles(aux, 10000,50000,