dig failed added opencv
This commit is contained in:
@@ -17,7 +17,7 @@ class WindowCapture:
|
||||
offset_y = 0
|
||||
|
||||
# constructor
|
||||
def __init__(self, window_name, area, config):
|
||||
def __init__(self, window_name, area, config, coords = 0):
|
||||
# find the handle for the window we want to capture.
|
||||
# if no window name is given, capture the entire screen
|
||||
if window_name is None:
|
||||
@@ -37,6 +37,8 @@ class WindowCapture:
|
||||
val = config.returnEquipmentWindowPos()
|
||||
elif area == "screen_conf":
|
||||
val = config.returnOKWindowPos()
|
||||
elif area == "lanes":
|
||||
val = coords
|
||||
else:
|
||||
val = config.returnFullScreenWindowPos()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user