Hi, we have a pipeline for detecting invasive plants in drone images via colour matching. It runs on individual images, so it takes and image and returns relative pixel coordinates within the image for each detected plant.
We’d like to convert these per-image pixel coordinates into actual geocoordinates so we can provide users with a map of where the invasive plants are. As I understand it, for a given pixel coordinate in the original image, we’d need to track that to its location in the orthorectified image, which I think means we’d need to have access to the orthorectified images or the transformation matrix for the images?
I presume ODM has to calculate all this anyway, so I’m presuming the data exists somewhere, but I couldn’t find documentation on how to interpret the numbers the cameras.json file (if that’s the correct place to be looking).
There are a few posts trying to do somewhat similar things (eg For a 3d point in pointcloud, How to get Image and corresponding 2d point? - #5 by ThorZ), but I didn’t see any that had found a solution to this.
Any suggestions or pointers to possible solutions would be appreciated.
Apologies in advance if I’m missing something obvious)