PoseLib
PoseLib copied to clipboard
Minimal solvers for calibrated camera pose estimation
Enhance readability and maintainability by standardizing code style across header files. This change simplifies code reviews and improves overall code quality. Note: the `.clang-format` was copied from Colmap: https://github.com/colmap/colmap/blob/main/.clang-format Fixes...
Currently the ColumnLimit is: `ColumnLimit: '120'`. [`.clang-format` configuration](https://github.com/PoseLib/PoseLib/blob/master/.clang-format#L4) I recommend reducing the column limit for better readability: ``` IndentWidth: '2' TabWidth: '2' ColumnLimit: '80' ``` or `ColumnLimit: '88'` (like in...
Fixes the bug in (#117) suggested by @jtressle.
```python import numpy as np import poselib x_A = np.random.randn(9,2) x_B = np.random.randn(4,2) H_est, stats = poselib.estimate_homography(x_A, x_B, {}, {}) ```