kel-z/HSR-Scanner

Trailblazer items scan incorrectly as of v2.2

Closed this issue · 1 comments

Trailblazer items scan incorrectly as of v2.2

v2.2 added a path icon that accompanies the trailblazer's equipped icon. The new path icon offsets the "Equipped" text to the right compared to items equipped on other characters.

As a result, a quick fix for this issue would be to tightly position the screenshot around the "Equipped" text for non-TB characters. This way, when OCR'ing equipped items, it would parse "Equipped" on non-TB characters and proceed with the icon comparison as normal. On the other hand, if only a small substring of "Equipped" is parsed, then offset the equipped icon position before doing the comparison.