stevschmid / track-o-bot

The friendly Hearthstone Tracker
https://trackobot.com
GNU Lesser General Public License v2.1
489 stars 87 forks source link

Tracking Rank 9 #181

Open geraldhiller opened 8 years ago

geraldhiller commented 8 years ago

For some reason the rank is not recorded on rank 9. Anyone else having this problem?

LesnikovPavel commented 8 years ago

I've got the same problem, from ranks 10 to 3 (im at 3 right now, can's speak of 2, 1 and legend) it's not showing. upd: got rank 1 (yauu), still nothing

stevschmid commented 8 years ago

I'm working on an update to fix the tracking of ranks 1-9 again.

fenom commented 8 years ago

Hey @stevschmid, how's the fix coming along? I don't know how image recognition works, but is there anything others can do to help? Are sample images something you would need?

maverikki commented 8 years ago

Hi @stevschmid, I would also be willing to help with this. I took a look at the code and wrote the captured rank images to disk. It seems that the capture images are fine for human eye at least. So does this just need a new classifier for the images or is there a better, different solution to this? Also what changed and caused this to stop working? If you need screen captures or something else, please do ask.

stevschmid commented 8 years ago

Blizzard changed the font size for ranks 1-9, they are now consistent with rank 10 and above (previously the digits were bigger). @maverikki @fenom I need sample images for rank 1-9 with the new text size in 1920x1080 resolution (full game screenshots, PNG format, i.e. the images Print Screen outputs)

fenom commented 8 years ago

I will work on that for you. What about legend ranks?

fenom commented 8 years ago

Here you go, @stevschmid. I included a legend shot in case it's useful for you. Let us know if there's anything else we can do for you to fix legend recognition. Thank you for your work and I look forward to the fix.

9 8 7 6 5 4 3 2 1 legend

stevschmid commented 8 years ago

@fenom Thank you! I hope to release the new version this or the coming week.

fenom commented 8 years ago

@stevschmid What's latest on the fix?

Scoppio commented 8 years ago

Hello @stevschmid, do you have anytips on how to train your MLP? I am thinking of creating a copy of it in python to generate a new json.

Also, have you tought of using the dll that access unity games? This way you could acces many information directly from the game state.

stevschmid commented 8 years ago

@fenom Currently fighting some server-side issues, still hope to release the new version in the next couple of days.

@Scoppio Not using DLL (aka process memory) since that violates the ToS as far as I know.

rikumiyao commented 8 years ago

Hi @stevschmid I am starting to learn Machine Learning and after testing around with the source code and learning about the structure of the MLP, I have learned my own MLP that should be able to correctly identify ranks 1-9. I believe that you already have a solution, but if you can could you also verify that my solution attached works? Especially as there appears to be multiple different combinations of weights and biases that seem to classify all of the numbers correctly. rank_classifier.zip

stevschmid commented 7 years ago

I updated the rank detection in 0.8.4. Please report here how it works on rank 9 and downwards. Legend tracking is not possible anymore (for the time being).

@rikumiyao Please send me an email to info@spidy.ch. I gladly share some insights about the rank detection classifier and its training.

fenom commented 7 years ago

@stevschmid, is it possible to at least detect the general legend rank and set rank to 0 even if specific legend rank can't be detected? Taking null rank as legend isn't reliable since there're other reasons for null rank.

stevschmid commented 7 years ago

@fenom I don't see an easy way to do that. But I'll think about it. Optimally I would like to restore the legend tracking altogether.