Finding lat/long within a images using image metadata

I’m using Pix4dx Capture Pro and Parrot Anafi to map a large field that contains farm equipment. I would like the lat/log of the farm equipment within the images. I have all the drone variables to compute the locations. However, I don’t know how to determine Pix4dx map variables: map size, projection reference, etc.

Given that I can easily obtain the farm equipment’s x and y pixel locations, I plan to use the following equations to determine lat/long.

var lat=(y/(this.MAP_HEIGHT/180)-90)/-1

var lng = x/(this.MAP_WIDTH/360)-180

But I’m not sure if the equations are valid to to unknown Pix4dx projection reference. Any help with Pix4dx map details would be greatly appreciated.

Thanks

lat/long equations ref: Convert pixel location to latitude/longitude & vise versa

Hi @seabass1217,
welcome to the Pix4D Community :handshake: .

The best would be process your images using a photogrammetric process (you can use PIX4Dmatic, PIX4Dmapper, PIX4Dcloud, …) and create an orthomosaic.
This will give a map of the entire area of interest and, because it’s in GeoTIFF format, each pixel will have its own coordinates.

Let me know if this answers your question.