We have a 10x5
rectangle than match a 1000m x 500m
field in real life.
The field's orientation is horizontal (floor).
So we get a quadrilateral where 1 virtual unit = 100 units
in real world and four 2D
corner positions (A,B,C,D)
How can I find the XYZ
plane's position and rotation if :
camera.position:(0,10,0)
and
camera.rotation(0,0,0)
?
The goal is to place the plane in 3D space as the perspective matches exactly the 2D image.
I think it's related to pnp problem (additional informations here)
(You can imagine the use case of a soccer field, if I have the four xy position of the four corner, ABCD, how can I place a plane in an AR app to match and track the field)