Closed connor11son closed 10 months ago
Thanks for sharing a test dataset, this looks indeed like a bug, it's caused by OpenSfM's graph pre-matcher, which to work requires at least 3 images.
The workaround at the moment is to use --matcher-neighbors 2
, which will use GPS-based pre-matching instead, which works fine for 2 images.
How did you install ODM? (Docker, installer, natively, ...)?
Docker Run
What is the problem?
ODM (OpenSfM specifically) is unable to match features between two images with ~70% overlap.
What should be the expected behavior? If this is a feature request, please describe in detail the changes you think should be made to the code, citing files and lines where changes should be made, if possible.
Features from the two images should be able to be matched, and OpenSfM should be able to stitch the images to create a mosaic. I am able to compute and match features using SIFT and RANSAC on the latest version of OpenCV.
How can we reproduce this? What steps did you do to trigger the problem? If this is an issue with processing a dataset, YOU MUST include a copy of your dataset AND task output log, uploaded on Google Drive or Dropbox (otherwise we cannot reproduce this).
docker run -ti --rm -v $PWD:/datasets opendronemap/odm --project-path /datasets project --dsm
where inside of your working directory you have a project folder with these images inside. Here are the relevant logs for this run: