UpDownLeftDie / AwayFromBlox

AFB
MIT License
1 stars 0 forks source link

OCR #27

Open jaredcat opened 1 year ago

jaredcat commented 1 year ago

Implement OCR so we can get better information about state of the game.

First, we can replace Reconnection logic to use OCR instead of ImageSearch this will make it much more robust across various systems and resolutions. This would pretty much close this issue: https://github.com/UpDownLeftDie/AwayFromBlox/issues/15

Second, we can handle more advanced issues of state or know when we need to wait for something to load. We can hopefully navigate the menus better. One example would be to navigate users to join back into a game after Reconnection has failed: https://github.com/UpDownLeftDie/AwayFromBlox/issues/28

jaredcat commented 1 year ago

I was looking into Puddle OCR: https://github.com/telppa/PaddleOCR-AutoHotkey/releases This topic discussing it: https://www.autohotkey.com/boards/viewtopic.php?t=94856 The issue is that its written for AHK v1 and I had a lot of trouble trying to update the scripts to work with AHK v2

jaredcat commented 1 year ago

Capture2Text might be a simpler implementation: https://www.autohotkey.com/boards/viewtopic.php?t=18677&p=153056 I haven't looked into it yet

jaredcat commented 1 year ago

This might actually be what we need: https://www.autohotkey.com/boards/viewtopic.php?f=6&t=17834