projet-probleme-inverse-3D/src/test.py

11 lines
184 B
Python
Raw Normal View History

2023-01-19 21:01:32 +00:00
import pickle
nb_frame = 24
for k in range(nb_frame):
2023-01-25 18:54:28 +00:00
with open(f"/tmp/cameras/{k:04d}.pickle", "rb") as file:
2023-01-19 21:01:32 +00:00
proj_mat = pickle.load(file)["P"]
print(k, proj_mat)