First time here? Check out the FAQ!
answered 2018-10-18 19:23:54 -0600
How about, threshold the image so you have the whole RAM as a white mask, and find the center.
Then take the original image, use inRange to find the gold, and find it's center. Then between the two centers you know the location.