Closedown
This commit is contained in:
@@ -42,6 +42,7 @@ def in_roi(x,y):
|
||||
|
||||
|
||||
def integrate(ips):
|
||||
roi = get_roi()
|
||||
aux = None
|
||||
for i in range(len(ips)):
|
||||
if i==0:
|
||||
@@ -77,9 +78,14 @@ def get_roi():
|
||||
|
||||
|
||||
def get_image():
|
||||
roi = get_roi()
|
||||
ip = load_image(img.image)
|
||||
return sub_image(ip, roi[0], roi[1], roi[2], roi[3])
|
||||
|
||||
def get_image(bi):
|
||||
roi = get_roi()
|
||||
ip = load_image(bi)
|
||||
return sub_image(ip, roi[0], roi[1], roi[2], roi[3])
|
||||
|
||||
|
||||
def detect_pucks(ip):
|
||||
|
||||
Reference in New Issue
Block a user