1
Python and Java API / Re: Support for Python 3.9
« on: August 10, 2022, 02:49:36 PM »
Please ignore this - it appears that it works in 3.9 already (I assume you're using the Limited API)
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
w : 3840
h : 2160
f : 7617.05664
k1 : 0.052014
k2 : 0.689641
k3 : -3.7671
k4 : 0
cx : 0
cy : 0
p1 : -0.00148237
p2 : -0.0018401
b1 : 0
b2 : 0
x_prime = (x * (1 + k1*r2 + k2*r4 + k3*r6)) + (p1 * (r2 + (2 * x2))) + (2 * p2 * x * y) = 0.36136245
y_prime = (y * (1 + k1*r2 + k2*r4 + k3*r6)) + (p2 * (r2 + (2 * y2))) + (2 * p1 * x * y) = 0.36118359
u = w * 0.5 + cx + x_prime * f + x_prime * b1 + x_prime * b2 = 4672.52
v = h * 0.5 + cy + y_prime * f = 3831.16
x_prime = (x * (1 + k1*r2 + k2*r4 + k3*r6)) + (p1 * (r2 + (2 * x2))) + (2 * p2 * x * y) = 0.363764875
y_prime = (y * (1 + k1*r2 + k2*r4 + k3*r6)) + (p2 * (r2 + (2 * y2))) + (2 * p1 * x * y) = 0.363764875
u = w * 0.5 + cx + x_prime * f + x_prime * b1 + x_prime * b2 = 4690.82
v = h * 0.5 + cy + y_prime * f = 3850.82
marker = chunk.addMarker()
for projection in projection_cameras:
marker.projections[projection['camera']] = Metashape.Marker.Projection(Metashape.Marker(projection['position']))