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

Innocence-Touched recipe is not highlighted when prerequisites are completed #32

Open meepen opened 2 years ago

meepen commented 2 years ago

Image: image

The first four are (in order) Lunaris-Touched, Solaris-Touched, Mana Siphoner, Mirror Image

Output after scan:

Best match for Kitava-Touched: x=166, y=368 confidence=0.7219284176826477 too low
Best match for Innocence-Touched: x=240, y=79 confidence=0.5067635178565979 too low
Best match for Shakari-Touched: x=385, y=230 confidence=0.7980350255966187 too low
Best match for Abberath-Touched: x=385, y=228 confidence=0.9701678156852722
Best match for Tukohama-Touched: x=166, y=300 confidence=0.9727351665496826
Best match for Brine King-Touched: x=530, y=82 confidence=0.968940794467926
Best match for Arakaali-Touched: x=166, y=373 confidence=0.9704540967941284
Best match for Solaris-Touched: x=239, y=82 confidence=0.8910576701164246 too low
Best match for Lunaris-Touched: x=166, y=82 confidence=0.9056112766265869 too low
Best match for Effigy: x=166, y=446 confidence=0.9006615877151489 too low
Best match for Empowered Elements: x=603, y=228 confidence=0.8409427404403687 too low
Best match for Crystal-Skinned: x=603, y=446 confidence=0.7735158205032349 too low
Best match for Invulnerable: x=312, y=446 confidence=0.7750310301780701 too low
Best match for Corrupter: x=676, y=300 confidence=0.9133046269416809 too low
Best match for Mana Siphoner: x=312, y=82 confidence=0.8846253156661987 too low
Best match for Storm Strider: x=385, y=373 confidence=0.9729387164115906
Best match for Mirror Image: x=457, y=300 confidence=0.8820072412490845 too low
Best match for Magma Barrier: x=676, y=300 confidence=0.8318695425987244 too low
Best match for Evocationist: x=603, y=446 confidence=0.7843791246414185 too low
Best match for Corpse Detonator: x=385, y=300 confidence=0.9685382843017578
Best match for Flame Strider: x=385, y=446 confidence=0.9770920872688293
Best match for Soul Eater: x=239, y=300 confidence=0.8565601706504822 too low
Best match for Ice Prison: x=312, y=84 confidence=0.8128233551979065 too low
Best match for Frost Strider: x=312, y=446 confidence=0.9739567637443542
Best match for Treant Horder: x=603, y=228 confidence=0.971476674079895
Best match for Temporal Bubble: x=604, y=227 confidence=0.739708662033081 too low
Best match for Entangler: x=166, y=446 confidence=0.9114035964012146 too low
Best match for Drought Bringer: x=166, y=446 confidence=0.9681394696235657
Best match for Hexer: x=603, y=446 confidence=0.8440564274787903 too low
Best match for Executioner: x=166, y=446 confidence=0.8996336460113525 too low
Best match for Rejuvenating: x=166, y=446 confidence=0.9112175107002258 too low
Best match for Necromancer: x=603, y=446 confidence=0.8639262914657593 too low
Best match for Trickster: x=603, y=446 confidence=0.8242661952972412 too low
Best match for Assassin: x=603, y=446 confidence=0.9682742357254028
Best match for Empowered Minions: x=166, y=446 confidence=0.8690571784973145 too low
Best match for Heralding Minions: x=312, y=446 confidence=0.848005473613739 too low
Best match for Arcane Buffer: x=603, y=300 confidence=0.9869922399520874
Best match for Berserker: x=239, y=446 confidence=0.9834641218185425
Best match for Bloodletter: x=239, y=519 confidence=0.9803760051727295
Best match for Bombardier: x=676, y=519 confidence=0.8951677083969116 too low
Best match for Bonebreaker: x=457, y=155 confidence=0.9764164686203003
Best match for Chaosweaver: x=166, y=519 confidence=0.9802821278572083
Best match for Consecrator: x=530, y=155 confidence=0.9805967807769775
Best match for Deadeye: x=457, y=155 confidence=0.9117029309272766 too low
Best match for Dynamo: x=166, y=519 confidence=0.7748731374740601 too low
Best match for Echoist: x=238, y=446 confidence=0.769903302192688 too low
Best match for Flameweaver: x=676, y=82 confidence=0.8516665697097778 too low
Best match for Frenzied: x=166, y=592 confidence=0.9799931049346924
Best match for Frostweaver: x=239, y=228 confidence=0.8847554922103882 too low
Best match for Gargantuan: x=239, y=519 confidence=0.8390674591064453 too low
Best match for Hasted: x=676, y=228 confidence=0.979801595211029
Best match for Incendiary: x=530, y=592 confidence=0.9815852046012878
Best match for Juggernaut: x=530, y=373 confidence=0.9780097603797913
Best match for Malediction: x=457, y=155 confidence=0.8915489315986633 too low
Best match for Opulent: x=530, y=228 confidence=0.9753826856613159
Best match for Overcharged: x=676, y=82 confidence=0.8651769757270813 too low
Best match for Permafrost: x=676, y=592 confidence=0.9780704975128174
Best match for Sentinel: x=385, y=592 confidence=0.981037974357605
Best match for Soul Conduit: x=676, y=373 confidence=0.9787297248840332
Best match for Steel-Infused: x=166, y=228 confidence=0.9782062768936157
Best match for Stormweaver: x=603, y=519 confidence=0.9801949262619019
Best match for Toxic: x=457, y=228 confidence=0.982913613319397
Best match for Vampiric: x=239, y=524 confidence=0.8567469120025635 too low
{'Abberath-Touched': [(385, 228)], 'Tukohama-Touched': [(166, 300)], 'Brine King-Touched': [(530, 82)], 'Arakaali-Touched': [(166, 373)], 'Storm Strider': [(385, 155), (239, 300), (385, 373), (312, 519)], 'Corpse Detonator': [(385, 300), (676, 300)], 'Flame Strider': [(312, 155), (385, 446)], 'Frost Strider': [(312, 446)], 'Treant Horder': [(603, 228)], 'Drought Bringer': [(166, 446)], 'Assassin': [(603, 446)], 'Arcane Buffer': [(603, 300), (603, 373), (457, 519)], 'Berserker': [(239, 446), (385, 519)], 'Bloodletter': [(239, 519)], 'Bonebreaker': [(457, 155)], 'Chaosweaver': [(166, 519)], 'Consecrator': [(530, 155)], 'Frenzied': [(457, 373), (166, 592)], 'Hasted': [(676, 228), (312, 300), (530, 446), (457, 592)], 'Incendiary': [(530, 592)], 'Juggernaut': [(603, 82), (676, 82), (530, 373), (676, 519)], 'Opulent': [(530, 228)], 'Permafrost': [(530, 300), (676, 592)], 'Sentinel': [(239, 155), (676, 155), (385, 592)], 'Soul Conduit': [(239, 228), (312, 228), (312, 373), (676, 373), (603, 592)], 'Steel-Infused': [(166, 155), (166, 228), (239, 373), (530, 519)], 'Stormweaver': [(603, 519)], 'Toxic': [(457, 228)]}

Settings: image

4rtzel commented 2 years ago

What's your game resolution?

From the logs it seems that the tool discarded those matches because the confidence value was too low. What will happen if you lower confidence threshold to 0.88?

Also, what are those golden frames around the icons? Are they for 4 items recipes?

meepen commented 2 years ago

My resolution is 2560x1440 and the golden frames are for recipes that have not been done yet

meepen commented 2 years ago

And unfortunately I cannot test again because I have already used the recipes. Sorry.

4rtzel commented 2 years ago

I see. I think running with lower confidence threshold should be able to fix that. Alternatively, you could open archnemesis inventory window directly (default hotkey is ',' I think) instead of interacting with the statue.

meepen commented 2 years ago

Yeah I could but they are already gone. I will run it with lower confidence and try it out more. If that does solve the issue you may want to consider either changing the value by default or updating to fix this problem however!

meepen commented 2 years ago

Also unfortunately running it at 0.88 makes the program believe that every basic type that is from yellow to red is Bonebreaker, so I do not think that would work very well!

meepen commented 2 years ago

This should be fixed in #35