Calibrate orb detection from botty reference: vertical slice method, correct HSV ranges
- Add ReadOrbSlicePercentage: thin vertical strip method for accurate fill reading - Support HSV hue wrapping in colorInRange (for red hues crossing 360°) - Health HSV: H 350-370 (wrapping), S 60+, V 20+ (calibrated from screenshot) - Mana HSV: H 226-240, S 100+, V 20+ (calibrated from screenshot) - Add health_slice/mana_slice regions (10px wide vertical strips through orb centers) - Update health_globe/mana_globe to full botty-referenced regions - Verified: health 96.3%, mana 100% on testdata/d2r_1080p.png (both at 100% fill)
This commit is contained in:
parent
0716aeb5e1
commit
35a1944179
8 changed files with 117 additions and 44 deletions
BIN
debug
BIN
debug
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue