|
|
|
|
|
by hanrelan
3034 days ago
|
|
We tried matching against known elements (template matching), but unfortunately that didn't hold up well given the large number of resolutions games support. One problem is that the elements themselves don't necessarily scale proportionally. For example, if you have a button with some text in it and you reduce the resolution, often the game will keep the text larger but reduce the padding around the text. This makes template matching tough. We found blob detection works pretty reliably and uses minimally CPU, but we're not CV experts so if anyone has other ideas we'd love to hear them! |
|