Repository navigation
New features
- Local features: --detector orb (default) | sift | aliked | xfeat | superpoint.
ALIKED, XFeat and SuperPoint (open-source MIT weights) run
in C++ with ONNX Runtime, on the GPU when available, otherwise on the CPU.
Their output matches the original PyTorch code to about 1e-5.
Models are exported once with c++/models/export_models.sh. - Lens distortion: COLMAP OPENCV camera model ([fx, fy, cx, cy, k1, k2, p1, p2])
used in triangulation, PnP and the essential matrix. - Optional geometric check (--geometric-check, off by default): stereo and
mono matches verified with a RANSAC essential matrix (OpenCV, with the
camera model) before triangulation. - API: StepResult::points3d (stereo 3D points of each frame) and
MonoOdometry::setLastPose (replace the last pose, e.g. by a motion model).
Changes
- src/orb_matching.cpp renamed to src/matching.cpp; the executable is now
"matching". - ONNX Runtime is optional at build time: without it, only ORB and SIFT
are available.