TwoAbove / noita-tools

A collection of tools for Nolla Game's Noita that help get insight into seeds and find ones with special constraints.
https://www.noitool.com/
MIT License
59 stars 8 forks source link

BUG - Live game helper not capturing the correct seed number #373

Open TomMaverick opened 4 months ago

TomMaverick commented 4 months ago

Describe the bug

The live game helper does not capture the correct seed number. The website shows the seed number as 6610697, 6610 or other incomplete numbers even though the seed in game is 661069794. This happens like 80% of the time. Sometimes it gets the correct seed number for a few seconds but then switches back to a faulty one. It also sees the 7 as a 1 in some occasions.

I thought it might be because the OCR can't recognize the numbers on a brighter or darker background, but even with the numbers on a different background it still happens.

Screenshots

Capture1

Capture2

Additional context

I'm running the game in Window mode: Windowed at a resolution of 2560 x 1440

Game version: Apr 30 2024 - 14:49:50

TwoAbove commented 3 months ago

Thanks! This is a limitation of the OCR that I'm using. The solution is to train a better OCR model, which is on the todo list

TwoAbove commented 3 months ago

Reference to PR with training code: https://github.com/TwoAbove/noita-tools/pull/339