mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-16 11:10:24 +08:00
Fix: Handler pickup banner in research series
This commit is contained in:
parent
8b246421bf
commit
8ace0e22d2
@ -68,7 +68,7 @@ def get_research_series_old(image, series_button=RESEARCH_SERIES):
|
||||
|
||||
|
||||
def _get_research_series(img):
|
||||
img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
|
||||
img = rgb2luma(img)
|
||||
pos = img.shape[0] * 2 // 5
|
||||
|
||||
img = img[pos - 4:pos + 5]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user