Comments (3)
Hey, I never got a email about this issue, weird!
First off, it uses opencv's match template for the image matching.
It is "quick" because with the initial search both templates (world map & minimap sample) have been downsampled a lot (6x by default).
Once that initial search is done, a "normal" search with no downsampling is done around the location the initial search returned.
The purpose of the map chunks is because if your bot is only operating in varrock it's pointless scanning the entire world map so you can select chunk(s) to use as the world map.
Player dots are a problem, mostly only at the GE but RS walker can attempt to filter them out by locating the dots, and filling them with the nearest available color that isn't a dot.
https://github.com/ollydev/RSWalker/blob/Simba1300/Utilities.pas#L135
from rswalker.
Hey Olly, thanks for getting back to me!
The info you provided is fantastic, just a few more quick questions:
It looks like you manually removed all the labels from the world map. This makes sense because the minimap doesn't have any labels, so template matching would cause issues if the player was at a location where there was a label on the world map. Did you do this in Photoshop? How did you determine the color of the tiles below the labels? (sounds like it took a lot of work!)
You also removed all the icons the world map (e.g. banks, mining spots, shop icons, etc.) -- this doesn't make as much sense to me. The minimap has these icons, so wouldn't template matching be improved by keeping them? If you're in a location with a lot of icons on the minimap, but the world map is missing all those icons in that location, wouldn't the template matching be a lot less accurate? Wouldn't you have to reduce the confidence in OpenCV a lot more than necessary in order to find a match?
from rswalker.
The maps were dumped by reading the local map buffer in memory, this was pre runelite but now you can just use the instance map, or even dump the maps from cache.
This is also why there is no symbols.
We don't care about confidence, RSWalker just blindly pick the best match. The confidence varys too much from location to location to have a steady "this is a good match" value.
from rswalker.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rswalker.