Hello everyone,
I have tried two different ways to project marker to the image plane, and I searched in the forum to find two ways:
(1)
marker = chunk.markers[0]
x0, y0 = marker.projections[camera].coord
(2)
camera.project(chunk.markers[0].position)
Method (1) returns Vector([2046.1069456339237, 1142.9500712869672]), while method 2 returns (2046.3900146484375, 1143.6800537109375).
Since both starts from estimated values, I am expecting they are the same, but they are different. Could someone explain why there's difference? Or if I should compare the integer but the Y has about 1 pixel difference...
Thanks a lot!