4rtzel / poe-archnemesis-scanner

Tool for Path of Exile game to automatically scan Archemesis inventory and display related information
Apache License 2.0
64 stars 25 forks source link

Scan but shows nothing #1

Open YetAnotherDevWannabe opened 2 years ago

YetAnotherDevWannabe commented 2 years ago

Title.

The scan seems to work but that all it does. It stops there. Also maybe auto detect where the game window is and add your overlay on top of it, not necessarily at 0, 0.

Best match for Innocence-Touched: x=868, y=505 = 0.3763728737831116
Best match for Shakari-Touched: x=1557, y=175 = 0.224538192152977
Best match for Abberath-Touched: x=1005, y=503 = 0.25460344552993774
Best match for Tukohama-Touched: x=467, y=891 = 0.2090228796005249
Best match for Brine King-Touched: x=818, y=48 = 0.27301040291786194
Best match for Arakaali-Touched: x=818, y=48 = 0.26048415899276733
Best match for Solaris-Touched: x=867, y=504 = 0.4317409098148346
Best match for Lunaris-Touched: x=867, y=572 = 0.33439430594444275
Best match for Effigy: x=1005, y=505 = 0.5558437705039978
Best match for Empowered Elements: x=1005, y=505 = 0.544024646282196
Best match for Crystal-Skinned: x=1074, y=505 = 0.4914858043193817
Best match for Invulnerable: x=1213, y=505 = 0.5003355741500854
Best match for Corrupter: x=1005, y=505 = 0.5553673505783081
Best match for Mana Siphoner: x=1283, y=574 = 0.6990996599197388
Best match for Storm Strider: x=936, y=575 = 0.5346771478652954
Best match for Mirror Image: x=867, y=572 = 0.5481978058815002
Best match for Magma Barrier: x=1144, y=574 = 0.5836771726608276
Best match for Evocationist: x=1282, y=505 = 0.6637076735496521
Best match for Corpse Detonator: x=1005, y=505 = 0.556984007358551
Best match for Flame Strider: x=1144, y=505 = 0.7006315588951111
Best match for Soul Eater: x=1074, y=505 = 0.5310088396072388
Best match for Ice Prison: x=1006, y=506 = 0.7218332886695862
Best match for Frost Strider: x=1213, y=505 = 0.6485772728919983
Best match for Treant Horder: x=1005, y=505 = 0.5847986340522766
Best match for Temporal Bubble: x=867, y=573 = 0.6713113188743591
Best match for Entangler: x=1074, y=505 = 0.5266912579536438
Best match for Drought Bringer: x=1213, y=505 = 0.6485772728919983
Best match for Hexer: x=1005, y=575 = 0.561439573764801
Best match for Executioner: x=1005, y=505 = 0.5578096508979797
Best match for Rejuvenating: x=1005, y=505 = 0.5826340317726135
Best match for Necromancer: x=1074, y=505 = 0.5675181150436401
Best match for Trickster: x=1005, y=505 = 0.5278065204620361
Best match for Assassin: x=1074, y=505 = 0.6211720108985901
Best match for Empowered Minions: x=1005, y=505 = 0.5571519136428833
Best match for Heralding Minions: x=1213, y=505 = 0.5443004965782166
Best match for Arcane Buffer: x=1144, y=90 = 0.7410596609115601
Best match for Berserker: x=1076, y=158 = 0.8221065998077393
Best match for Bloodletter: x=1074, y=159 = 0.7532392740249634
Best match for Bombardier: x=1074, y=228 = 0.6801440119743347
Best match for Bonebreaker: x=1005, y=228 = 0.7415825724601746
Best match for Chaosweaver: x=936, y=159 = 0.7006719708442688
Best match for Consecrator: x=867, y=505 = 0.7653407454490662
Best match for Deadeye: x=936, y=159 = 0.7219099402427673
Best match for Dynamo: x=867, y=436 = 0.773443877696991
Best match for Echoist: x=1004, y=297 = 0.8088420629501343
Best match for Flameweaver: x=867, y=228 = 0.7731313705444336
Best match for Frenzied: x=1144, y=436 = 0.7603250741958618
Best match for Frostweaver: x=867, y=159 = 0.726263165473938
Best match for Gargantuan: x=797, y=228 = 0.7560962438583374
Best match for Hasted: x=938, y=160 = 0.734603762626648
Best match for Incendiary: x=796, y=366 = 0.6911076903343201
Best match for Juggernaut: x=1074, y=228 = 0.7377718091011047
Best match for Malediction: x=936, y=159 = 0.7729506492614746
Best match for Opulent: x=272, y=649 = 0.4965763986110687
Best match for Overcharged: x=1144, y=228 = 0.7165210843086243
Best match for Permafrost: x=1144, y=159 = 0.7348309755325317
Best match for Sentinel: x=867, y=89 = 0.7284806370735168
Best match for Soul Conduit: x=1213, y=159 = 0.7449194192886353
Best match for Steel-Infused: x=867, y=159 = 0.7768889665603638
Best match for Stormweaver: x=867, y=159 = 0.6312894225120544
Best match for Toxic: x=1145, y=367 = 0.7680716514587402
Best match for Vampiric: x=797, y=233 = 0.6251742243766785
{}
4rtzel commented 2 years ago

If the scan didn't show up anything, then that means it didn't find anything it is confident with. Here, all the 'Best match' values are below confidence threshold which is 0.90 (will be changed soon to 0.94).

Could you provide a bit more information about your setup? What's your resolution? Are you running the game in windowed fullscreen?

bezrq commented 2 years ago

I have the same issue.

I run windowed, resolution is 2560x1000

I set the scan area to fit the inventory but I am not sure what to set the image scale to. I suggest implementing an example size so you can properly scale what it should be.

Aside from that, I cant figure out a way to get it to work.

Also, the program does not save my settings after close.

YetAnotherDevWannabe commented 2 years ago

I'm running a bit of a marginal resolution (5120 x 1440) and the game is running @ 2560 x 1440 in windowed mode. Hope this helps :)

halexh commented 2 years ago

I have the same issue. Running at 3840 x 2160 in windowed full screen mode. Tried adjusting the DPI setting suggested in https://github.com/4rtzel/poe-archnemesis-scanner/issues/3#issuecomment-1035917756 . Also adjusted the the scanner window to overlap only the location of the nemesis items. All I get is results with less than 40% confidence, some even lower.

image

4rtzel commented 2 years ago

@halexh, your image scale value seems to be a bit too low for your resolution. Try 1.365. You may also want to lower confidence threshold a little bit (0.91?).

halexh commented 2 years ago

@halexh, your image scale value seems to be a bit too low for your resolution. Try 1.365. You may also want to lower confidence threshold a little bit (0.91?).

Thank you - that definitely fixed my issues. Where did you come up with 1.365 though? I would consider expanding the settings to take a input resolution from the user so you can calculate and use that internally maybe? Cause the user is going to have no idea what an appropriate image scale might be

4rtzel commented 2 years ago

The tool already does all the calculation based on your resolution. I just inputted your resolution in the function used for calculations and got 1.365. I don't know why your value were different.

What might need to be updated is threshold value. It seems that it needs to be lowered for resolutions != 1440p.

JustLKS commented 2 years ago

I have similar issue. My resolution is 1920x1040. Windowed fullscreen mode. When I press scan, it shows only few recipes and not ALL that I have available. ANy idea? It seems i can't have more than 1 string in the screen...

4rtzel commented 2 years ago

@JustLKS, what are your parameters in the settings?

IeUDE commented 2 years ago

I have the same issue, I have PoE on non main monitor, could this be related?

How do I tell to have the scan on the non-main monitor?