1 | initial version |
To convert the pixel cordinate to world cordinate (X,Y), you need to have a homography matrix (2d-2d) which can be multiplied with pixel cordinates (in homogenous ) to give world cordinates.
Have a look at the findHomography function in opencv. It helps to find the transformation from one plane to other but only the 2D co ordinates can be found.