Phogi,
The camera transform matrix CT translation component contains the camera.center coordinates in internal CS see:
chunk = Metashape.app.document.chunk
c = chunk.cameras[0] # 1st camera in chunk
CT = c.transform # camera transform matrix from local camera CS to internal CS
CT
Out[10]: 2021-06-28 09:50:18
2021-06-28 09:50:18 Matrix([[0.9877551448514599, 0.06472273578200843, 0.1419533067327537, 6.441632407819176],
2021-06-28 09:50:18 [-0.04974436100893698, 0.993052621548698, -0.1066395301146463, -8.4591383771754],
2021-06-28 09:50:18 [-0.1478691055199951, 0.09827236797875841, 0.9841124271771823, 0.16349698202983323],
2021-06-28 09:50:18 [0.0, 0.0, 0.0, 1.0]])
c.center
Out[11]: 2021-06-28 09:50:39 Vector([6.441632407819176, -8.4591383771754, 0.16349698202983323])
CT.translation()
Out[12]: 2021-06-28 09:52:15 Vector([6.441632407819176, -8.4591383771754, 0.16349698202983323])
and to get the camera center in geocentric coordinates just do T.mulp(c.center) where T = chunk.transform.matrix see:
c = chunk.cameras[0] # 1st camera in chunk
CT = c.transform # camera transform matrix from local camera CS to internal CS
T = chunk.transform.matrix
T.mulp(c.center) # geocentric coordinates of camera center
Out[4]: 2021-06-28 18:35:43 Vector([-924778.0098904001, -5818984.275948655, 2435469.3308245763])
T*CT
Out[5]: 2021-06-28 18:36:10
2021-06-28 18:36:10 Matrix([[25.156228593938813, -56.75552071028278, 22.513266829782758, -924778.0098904002],
2021-06-28 18:36:10 [-27.333547068227375, 11.304934505212975, 59.04191572109327, -5818984.275948654],
2021-06-28 18:36:10 [-54.59774280236616, -31.81008450558328, -19.185337009006652, 2435469.3308245763],
2021-06-28 18:36:10 [0.0, 0.0, 0.0, 1.0]])
(T*CT).translation() # translation component of T*CT = geocentric coordinates of camera center
Out[6]: 2021-06-28 18:37:16 Vector([-924778.0098904002, -5818984.275948654, 2435469.3308245763])