question about opencv

01/16/2024 03:02 YonKo1#1
hi
does anyone have an idea how to reveal the name of a player or monsters or stones by opensv? I tried all the methods but every time it is difficult for him to reveal this due to the difficulty of reading the text in the game.
I tried this by "creating an image" every few seconds and if it detects the "text" I want it will go to it but it fails to find text every time.
does anyone have an idea?
01/17/2024 20:30 martinx1#2
Honestly, this seems almost an impossible task to do in realtime. Maybe, what could work is using some ML model for detecting text and then do a second pass trough the detected regions, so some preprocessing and run an OCR algorithm.
Even with this, i think the final result will be garbage anyway :)

Not sure what is your end goal, but if you want differentiate between players/stones/mobs, what i would do is train a YOLO model for it.
Label around 1000 images with a 2d box and train the Neural Network it will give awesome results in realtime and nowadays this is ferly easy do develop.

[Only registered and activated users can see links. Click Here To Register...]