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

11 lines
184 B
Python

import pickle
nb_frame = 24
for k in range(nb_frame):
with open(f"/tmp/cameras/{k:04d}.pickle", "rb") as file:
proj_mat = pickle.load(file)["P"]
print(k, proj_mat)