在 Python 中使用 Ceres 的因子图
This repository provides minimal Python bindings for the Ceres Solver and the implementation of factor graphs for bundle adjustment and pose graph optimization.
Wheels for Python 10/11/12/13/14 on Linux, macOS 10+ (both Intel and Apple Silicon), and Windows can be installed using pip:
pip install pyceresTo build from source, follow the following steps:
git clone https://github.com/cvg/pyceres.git
cd pyceres
python -m pip install .Alternatively, you can build the Docker image:
docker build -t pyceres -f Dockerfile .| pyceres Version | Corresponding pycolmap Version(s) |
|---|---|
| 2.6 | >= 3.12.6 |
| 2.5 | 3.12.0 - 3.12.5 |
| 2.4 | 3.11.0 |
| 2.3 | 3.10.0 |
Factors may be defined in Python (see examples/test_python_cost.py) or in C++ with associated Python bindings.
PyCOLMAP provides the following cost functions in pycolmap.cost_functions:
See examples/ to use these factors.
Pyceres was inspired by the work of Nikolaus Mitchell for ceres_python_bindings and is maintained by Philipp Lindenberger, Paul-Edouard Sarlin, and Shaohui Liu.
暂无开放 Issues,或尚未同步最近议题。