Fix orb coordinates from pixel-level analysis: health center x=400, mana center x=1550
This commit is contained in:
parent
35a1944179
commit
957629ec2e
9 changed files with 32 additions and 32 deletions
|
|
@ -678,15 +678,15 @@ func (s *Server) getExpectedColorRange(regionName string) *vision.ColorRange {
|
|||
switch regionName {
|
||||
case "health_orb":
|
||||
return &vision.ColorRange{
|
||||
LowerH: 0, UpperH: 10,
|
||||
LowerS: 150, UpperS: 255,
|
||||
LowerV: 150, UpperV: 255,
|
||||
LowerH: 350, UpperH: 370,
|
||||
LowerS: 100, UpperS: 255,
|
||||
LowerV: 80, UpperV: 255,
|
||||
}
|
||||
case "mana_orb":
|
||||
return &vision.ColorRange{
|
||||
LowerH: 200, UpperH: 240,
|
||||
LowerH: 225, UpperH: 245,
|
||||
LowerS: 100, UpperS: 255,
|
||||
LowerV: 80, UpperV: 255,
|
||||
LowerV: 60, UpperV: 255,
|
||||
}
|
||||
default:
|
||||
// For other regions, we don't have specific expected color ranges
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue