mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 11:39:03 +08:00
Upd: Research S8 series assets
This commit is contained in:
parent
75d802fdef
commit
da837c391e
BIN
assets/cn/research/TEMPLATE_S8.png
Normal file
BIN
assets/cn/research/TEMPLATE_S8.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
assets/research_blueprint/dmitri.png
Normal file
BIN
assets/research_blueprint/dmitri.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
assets/research_blueprint/goudenleeuw.png
Normal file
BIN
assets/research_blueprint/goudenleeuw.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
assets/research_blueprint/kansas.png
Normal file
BIN
assets/research_blueprint/kansas.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
BIN
assets/research_blueprint/mecklenburg.png
Normal file
BIN
assets/research_blueprint/mecklenburg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
assets/research_blueprint/vittorio.png
Normal file
BIN
assets/research_blueprint/vittorio.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
@ -69,4 +69,5 @@ TEMPLATE_S4_2 = Template(file={'cn': './assets/cn/research/TEMPLATE_S4_2.png', '
|
||||
TEMPLATE_S5 = Template(file={'cn': './assets/cn/research/TEMPLATE_S5.png', 'en': './assets/en/research/TEMPLATE_S5.png', 'jp': './assets/jp/research/TEMPLATE_S5.png', 'tw': './assets/tw/research/TEMPLATE_S5.png'})
|
||||
TEMPLATE_S6 = Template(file={'cn': './assets/cn/research/TEMPLATE_S6.png', 'en': './assets/en/research/TEMPLATE_S6.png', 'jp': './assets/jp/research/TEMPLATE_S6.png', 'tw': './assets/tw/research/TEMPLATE_S6.png'})
|
||||
TEMPLATE_S7 = Template(file={'cn': './assets/cn/research/TEMPLATE_S7.png', 'en': './assets/en/research/TEMPLATE_S7.png', 'jp': './assets/jp/research/TEMPLATE_S7.png', 'tw': './assets/tw/research/TEMPLATE_S7.png'})
|
||||
TEMPLATE_S8 = Template(file={'cn': './assets/cn/research/TEMPLATE_S8.png', 'en': './assets/cn/research/TEMPLATE_S8.png', 'jp': './assets/cn/research/TEMPLATE_S8.png', 'tw': './assets/cn/research/TEMPLATE_S8.png'})
|
||||
TEMPLATE_WAITING = Template(file={'cn': './assets/cn/research/TEMPLATE_WAITING.png', 'en': './assets/en/research/TEMPLATE_WAITING.png', 'jp': './assets/jp/research/TEMPLATE_WAITING.png', 'tw': './assets/tw/research/TEMPLATE_WAITING.png'})
|
||||
|
||||
@ -14,6 +14,8 @@ RESEARCH_SCALING = [
|
||||
def match_series(image, scaling):
|
||||
image = rgb2gray(image)
|
||||
|
||||
if TEMPLATE_S8.match(image, scaling=scaling):
|
||||
return 8
|
||||
if TEMPLATE_S7.match(image, scaling=scaling):
|
||||
return 7
|
||||
if TEMPLATE_S6.match(image, scaling=scaling):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user