How to detect and get the button positions/locations (x, y) on the phone screen?

How to detect and get button positions/locations (x, y) on the phone screen?

Hi,
What have you already try?

HoughCircles or TemplateMatching should work (depending on the needs).

How about FeatureMatching ?
can i get MinMaxLocResult or point (x, y) from MatOfDMatch or DMatch object ?

no, not enough “texture”

no, it would work different, you try to get a homography transform between your template an query image, telling you, where the template is (and in which pose / rotation)