Hello, I am trying to run openMVG_main_ComputeMatches on my image dataset but when I do I receive the following error message:
[david@hmd Photogrammetry]$ openMVG_main_ComputeMatches -g e -i OpenMVG/sfm_data.json -o OpenMVG/matches -f 1
You called :
openMVG_main_ComputeMatches
--input_file OpenMVG/sfm_data.json
--out_dir OpenMVG/matches
Optional parameters:
--force 1
--ratio 0.8
--geometric_model e
--video_mode_matching -1
--pair_list
--nearest_matching_method AUTO
--guided_matching 0
--cache_size unlimited
- Regions Loading -
0% 10 20 30 40 50 60 70 80 90 100%
|----|----|----|----|----|----|----|----|----|----|
Invalid regions files for the view: KeckCAVES_G16/IMG_0179.JPG
*Invalid regions files for the view: Invalid regions files for the view: KeckCAVES_G16/IMG_0183.JPG
KeckCAVES_G16/IMG_0180.JPGInvalid regions files for the view: KeckCAVES_G16/IMG_0185.JPG
Invalid regions files for the view: KeckCAVES_G16/IMG_0184.JPGInvalid regions files for the view: KeckCAVES_G16/IMG_0186.JPG
Invalid regions files for the view: KeckCAVES_G16/IMG_0181.JPG
*
Invalid regions files for the view: KeckCAVES_G16/IMG_0182.JPG
Invalid regions.
Any help in the matter is greatly appreciated.
Hi,
Maybe there is simply no .feat/.desc file into your OpenMVG/matches.
Hi,
Maybe there is simply no _.feat/_.desc file into yourOpenMVG/matches.
Hi @rjanvier, thanks for your response.
I'm not sure what you mean. In a directory I created called features are .feat and .desc files for each image in my dataset, as well as a file called image_describer.json. There is nothing in my matches directory.
Then you should target your features directory with the -o flag, not OpenMVG/matches.
The pipeline expect to have the .feat, .desc and image_describer.jso in the same folder as the sfm_data.json.
So you can create symbolic links to those files in your OpenMVG folder, or just use the same folder as out parameter for InitImageListing and ComputeFeatures
Then you should target your
featuresdirectory with the-oflag, notOpenMVG/matches.
This solved the issue. Thank you everyone for the support.
gurturk@gurturk:~$ openMVG_main_ComputeMatches -i /home/gurturk/Desktop/openMVG/deneme4/matches/sfm_data.json -o /home/gurturk/Desktop/deneme5/aa/ -g e
You called :
openMVG_main_ComputeMatches
--input_file /home/gurturk/Desktop/openMVG/deneme4/matches/sfm_data.json
--out_dir /home/gurturk/Desktop/deneme5/aa/
Optional parameters:
--force 0
--ratio 0.8
--geometric_model e
--video_mode_matching -1
--pair_list
--nearest_matching_method AUTO
--guided_matching 0
--cache_size unlimited
Invalid regions files for the view: /home/gurturk/Desktop/deneme3/G0096074.JPG
/home/gurturk/Desktop/deneme3/G0096067.JPG*
Invalid regions.
gurturk@gurturk:~$ openMVG_main_ComputeMatches -i /home/gurturk/Desktop/openMVG/deneme4/matches/sfm_data.json -o /home/gurturk/Desktop/openMVG/deneme5/aa/ -g e
You called :
openMVG_main_ComputeMatches
--input_file /home/gurturk/Desktop/openMVG/deneme4/matches/sfm_data.json
--out_dir /home/gurturk/Desktop/openMVG/deneme5/aa/
Optional parameters:
--force 0
--ratio 0.8
--geometric_model e
--video_mode_matching -1
--pair_list
--nearest_matching_method AUTO
--guided_matching 0
--cache_size unlimited
Invalid regions.
@pmoulon I'm hvae the same problem. Can you explain in more detail your last mention?
So you can create symbolic links to those files in your OpenMVG folder, or just use the same folder as out parameter for InitImageListing and ComputeFeatures
OpenMVG reuse past loaded region if there is any in the match/out folder.
You can either try the -f 1 option to force OpenMVG to recompute the features and do not try to load existing one or remove everything except the sfm_data.json file in your out folder.
Most helpful comment
This solved the issue. Thank you everyone for the support.