Egoistically / ALAuto

Azur Lane bot based on azurlane-auto. Discord: https://discord.gg/vCFxDen.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot find the map (E-SP2). Isn't the similarity too high?

ferina8-14 opened this issue · comments

The bot doesn't detect map_E-SP2.png in the new event.

How about reducing the similarity setting instead of replacing the asset?

I reduced the similarity to 0.98 in this line and it worked fine. (I tested only with the JP asset.)

map_region = Utils.find('maps/map_{}'.format(self.chapter_map), 0.99)

Had this issue too with the Iris of Light and Dark rerun due to the smoke in the background, reduced the similarity to 0.95 initially then found 0.96 works as well.