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

exportKeypoints and exportMatches issues #2283

Open
graduate0629 opened this issue Jan 10, 2024 · 3 comments
Open

exportKeypoints and exportMatches issues #2283

graduate0629 opened this issue Jan 10, 2024 · 3 comments

Comments

@graduate0629
Copy link

Hello @pmoulon, I have a problem when using openMVG_main_exportKeypoints and openMVG_main_exportMatches. Instead of compiling the code, I just use the release. The image path is 20240109demo/img.
openMVG_main_exportKeypoints -i 20240109demo\mvg\Incremental_Reconstruction\sfm_data.bin -o 20240109demo\keypoints -d 20240109demo\mvg
openMVG_main_exportMatches -i 20240109demo\mvg\Incremental_Reconstruction\sfm_data.bin -o 20240109demo\matches -d 20240109demo\mvg -m 20240109demo\mvg\matches.f.bin
The output is shown below.
Keypoints
Matches
I would appreciate it if you can help me with the problem.

@graduate0629
Copy link
Author

Is there something wrong with my folder setting?
OpenMVG_main_exportKeypoints.exe and openMVG_main_exportMatches.exe are stored in the folder openmvg_v20.
The image dataset_is Sceaux Castle and it is stored in the folder openmvg_v20\20240109demo\img.
The output files in openmvg pipeline before SfM are stored in the folder openmvg_v20\20240109demo\mvg.
Incremental reconstruction results are stored in the folder openmvg_v20\20240109demo\mvg\Incremental_Reconstruction.

@pmoulon
Copy link
Member

pmoulon commented Jan 10, 2024

It could be about the path of the image. For some reason the image path seems not to be resolved in the svg file. (try to open the svg file on a text editor and look for the path that is used). Maybe you have used a relative path and not a full path

@graduate0629
Copy link
Author

@pmoulon Thank you for your prompt reply. I open the svg file on a text editor and change the relative path of the image to the absolute path. Then it shows the picture. But I can't change all the paths one by one, and I want to know what the problem is. When I use openMVG_main_exportKeypoints and openMVG_main_exportMatches, all my inputs are changed to absolute paths but there is still no image in the output svg file.

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

2 participants