Script execution
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user