Hi william,
the crs coordinates of corners will be in this order:
- 1st corner coordinates will correspond to (0,0) in image;
- 2nd corner coordinates will correspond to (4000,0) in image;
- 3rd corner coordinates will correspond to (4000,3000) in image;
- 4th corner coordinates will correspond to (0,3000) in image.
How this polygon will be oriented will obviously depend on how the camera is oriented. See attachment for better understanding.
Actually your corner coordinates as defined by the mentioned script will correspond to
photo_coords (px)
(0, 0)
(3999, 0)
(3999, 2999)
(0, 2999)