Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aborted (core dumped) when try to ms.apply_filter("compute_texcoord_parametrization_and_texture_from_registered_rasters") #405

Open
heronsaba opened this issue Nov 11, 2024 · 0 comments

Comments

@heronsaba
Copy link

Facing this aborted (core dumped) in the code below. Anyone has faced this problem and know how to solve it?

import pymeshlab

def save_textured_plane(bundle_out, images_list_txt, plane_ply, output_ply):
    # Load project and mesh, apply filters, and save mesh
    try:
        ms = pymeshlab.MeshSet()
        ms.load_project([bundle_out, images_list_txt])
        ms.load_new_mesh(plane_ply)
        ms.apply_filter("set_camera_per_raster")
        ms.apply_filter("compute_texcoord_parametrization_and_texture_from_registered_rasters")
        ms.save_current_mesh(output_ply)
    except Exception as e:
        print(f"An error occurred: {e}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant