1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 05:08:19 +08:00

Fix: Handler pickup banner in research series

This commit is contained in:
LmeSzinc
2023-07-20 21:38:42 +08:00
parent 8b246421bf
commit 8ace0e22d2

View File

@@ -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]