Skip to content

Commit

Permalink
fix: missed variables from refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
provos committed Jun 15, 2024
1 parent f3eedb1 commit 1b3dc1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def process_image(image_path, output_path, num_slices=5,
aspect_ratio = float(camera_matrix[0, 2]) / camera_matrix[1, 2]

output_path = Path(output_path) / "model.gltf"
export_gltf(output_path, aspect_ratio, focal_length, camera_distance,
export_gltf(output_path, aspect_ratio, camera.focal_length, camera.camera_distance,
card_corners_3d_list, image_paths)


Expand Down

0 comments on commit 1b3dc1b

Please sign in to comment.