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

Upd: Detect research series 7

This commit is contained in:
LmeSzinc
2024-07-11 23:31:51 +08:00
parent 4bfcd2ace3
commit aeab621087
6 changed files with 3 additions and 0 deletions

View File

@@ -14,6 +14,8 @@ RESEARCH_SCALING = [
def match_series(image, scaling):
image = rgb2gray(image)
if TEMPLATE_S7.match(image, scaling=scaling):
return 7
if TEMPLATE_S6.match(image, scaling=scaling):
return 6
if TEMPLATE_S4_2.match(image, scaling=scaling):