-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong match of affix and itemtype in chinese #97
Comments
Thanks for the report, I added all languages supported by Diablo but Chinese is difficult to test for me. The DescriptionClean entry is used when finding a match for OCR results. Looks like the problem is with the FuzzierSharp implementation. It's created for the English language and the default preprocessor removes all non alphanumeric characters. So instead of With some changes I have got it working for
I'll try to create a beta/test version for you later today. |
Ready for testing, you can download it here: |
Thanks a lot. I have tested this version, FuzzierSharp works very well, but I still have some problems. First, most of equipment can be identified well, but some equipment (about 20%) can't be identified. In debug result, the affixes areas are all correct, but OCR results are empty. Like this, my helm can't be identified, meanwhile my chest can. Secondly, when the affixes language setting is chinese, I can't import preset from Maxroll, and there are a lot of warnings.
I must change the affixes language setting to English and change back after import complete. Thank you again. Now this tool is usable for me, it helps me a lot. |
When you quickly move from chest to helm the app still thinks it's a chest. So it only looks like it's working but it uses the wrong affixes (chest instead of helm).
Will look into that tomorrow.
That's great to hear, have fun with season 4.
You mentioned you created your own preset. Do you want to share that so I can add it to the app? Will make it easier for others that want to use Chinese as well. |
Probably fixed with the v3.4.2.0 release.
Fixed in v3.4.2.0 |
I have tested v3.4.2.0, and this problem still exists. Looks like nothing changes, its performance is the same as before.
Thank you, this problem has been fixed. I'm glad to share my preset, it looks working good in debug result. |
That's too bad, maybe the problem is slightly different than the one I fixed for English.
You're welcome
Thanks, will add it later this week so it's available in the app. |
The |
It works well! Thanks! |
With my own system presets, the OCR can get texts exactly, but these texts of affix and itemtype can't be matched with affixdata.
Like this, OCR can get the first affix which is "+79 Intelligence", but in debug result, the affix is matched with "Resource with Two-Handed Bludgeoning Weapons", all of the matches are wrong, including affix aspect itemtype......
I'm worried that maybe FuzzierSharp can't work with chinese?
The text was updated successfully, but these errors were encountered: