Skip to content

Suggestion: Show stats near player portraits #4

Open
Inrego opened this issue Mar 9, 2016 · 3 comments
Open

Suggestion: Show stats near player portraits #4

Inrego opened this issue Mar 9, 2016 · 3 comments

Comments

@Inrego
Copy link

Inrego commented Mar 9, 2016

I was thinking.. Instead of making a table in the middle, could you show the stats near the actual player portraits? I think it'll be quicker to get an overview that thrall is the one with low mmr. Or maybe a setting for display-style to let users choose between current and this method.

@poma
Copy link
Member

poma commented Mar 13, 2016

It is possible but currently app don't detect parties. Because parties are sorted to be on top on loading screen it may result in wrong player order. It is possible to extract parties data from lobby file but the only thing I know currently is when player is in party his data structure contains more bytes. I didn't find any signature to know for sure that player is party. Byte count still can be used to guess parties but it is obviously very unreliable.

@Inrego
Copy link
Author

Inrego commented Mar 13, 2016

I have forked the project, and I am working on implementing some OCR which would give us all the required information for this.

I've written some code to remove any pixels from the picture that isn't text. That makes the OCR results much better. Here is your screenshot after this process: http://imgur.com/duVON2X

The only mistake I am getting with the OCR on this picture, is that it thinks red team Greymane is called Re41ity, when in fact it's an l, and not a 1. I think it should be possible to code my way out of matching it anyway.

There is another problem with OCR, though.. It will only work with english characters. The OCR does support other languages (chinese, russian etc), but you have to select one language when processing the image.

So if you could figure out a way to determine which players are in which positions from the replay files, that should solve all problems related to this.

@poma
Copy link
Member

poma commented Mar 15, 2016

Or just use fuzzy matching against battletag, hero and map lists

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants