Image recognition

I’ve been trying to make macros and want to know if it’s possible to detect an image and move the mouse cursor to the location of that image automatically instead of manually entering specific x y coordinates