Skip to content

Difficulty registering image despite high point correspondence #2705

@Davidyao99

Description

@Davidyao99

Describe the bug
I am trying to run the colmap mapper stage to generate sparse reconstruction using my own customized feature matching. I followed the script here to write my own correspondence into the database.

When running the colmap mapper command, there seems to be a lot of difficulty registering the images. Eventually, colmap throws a failed to create sparse model error. I used the colmap gui to visualize the images / matches and it seems right.

image

My correspondence should be quite sufficient, and based on the output, it seems like the images have a fair amount of overlap. I am not sure why the image is not registering. I am using the default settings for colmap mapper. This is my command:

sparse_reconstruction_command = [
            "colmap", "mapper",
            "--database_path", os.path.join(output_path, "database.db"),
            "--image_path", image_path,
            "--output_path", os.path.join(output_path, "sparse")
        ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions