In some cases, we can call generate_see3d_camera_by_lookat_all_plane with an empty visible_points.
Maybe worth skipping the camera selection selection in that case?
+ if len(plane_valid_cam_centers) == 0:
+ continue
+
# 3. Select camera center (choose optimal position from visible points)
In some cases, we can call
generate_see3d_camera_by_lookat_all_planewith an emptyvisible_points.Maybe worth skipping the camera selection selection in that case?