From aac57406a8895e9f32b1d43039ce3680f7a75b06 Mon Sep 17 00:00:00 2001 From: gdamms Date: Tue, 31 Jan 2023 16:40:40 +0100 Subject: [PATCH] work on all frames --- src/draw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draw.py b/src/draw.py index e50b4d2..d41a4d8 100644 --- a/src/draw.py +++ b/src/draw.py @@ -53,7 +53,7 @@ plt.savefig("data/peanut/peanut.png", dpi=300, bbox_inches="tight", pad_inches=0 plt.close() # draw 1d image of the scene for each camera -for i in range(13, 21): +for i in range(nb_cams): # sort pixels by distance to camera cam_pose = cam_poses[i]