Skip to content

Commit

Permalink
Bump version to 0.7.0 (#251)
Browse files Browse the repository at this point in the history
* Bump version
* Improve doc
  • Loading branch information
sarlinpe authored Jan 26, 2024
1 parent 58ddb6d commit 90ce2c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This repository exposes to Python most capabilities of [COLMAP](https://colmap.g

## Installation

Wheels for Python 8/9/10 on Linux, macOS 10/11/12 (both Intel and Apple Silicon), and Windows can be install using pip:
Wheels for Python 8/9/10 on Linux, macOS 10/11/12 (both Intel and Apple Silicon), and Windows can be installed using pip:
```bash
pip install pycolmap
```
Expand All @@ -14,11 +14,11 @@ The wheels are automatically built and pushed to [PyPI](https://pypi.org/project
<details>
<summary>[Building PyCOLMAP from source - click to expand]</summary>

1. Install COLMAP from source following [the official guide](https://colmap.github.io/install.html). Use COLMAP 3.8/3.9 for PyCOLMAP 0.4.0/0.5.0.
1. Install COLMAP from source following [the official guide](https://colmap.github.io/install.html). Use COLMAP 3.8 or 3.9.1 for PyCOLMAP 0.4.0 or 0.5.0/0.6.0.

4. Clone the PyCOLMAP repository:
```bash
git clone -b 0.5.0 https://github.com/colmap/pycolmap.git
git clone -b 0.6.0 https://github.com/colmap/pycolmap.git
cd pycolmap
```

Expand Down Expand Up @@ -87,7 +87,7 @@ To list available options and their default parameters:
help(pycolmap.SiftExtractionOptions)
```

For another example of usage, see [`hloc/reconstruction.py`](https://github.com/cvg/Hierarchical-Localization/blob/master/hloc/reconstruction.py).
For another example of usage, see [`example.py`](./example.py) or [`hloc/reconstruction.py`](https://github.com/cvg/Hierarchical-Localization/blob/master/hloc/reconstruction.py).

## Reconstruction object

Expand Down Expand Up @@ -138,7 +138,7 @@ All RANSAC and estimation parameters are exposed as objects that behave similarl

```python
ransac_options = pycolmap.RANSACOptions(
max_error=4.0, # reprojection error in pixels
max_error=4.0, # for example the reprojection error in pixels
min_inlier_ratio=0.01,
confidence=0.9999,
min_num_trials=1000,
Expand Down Expand Up @@ -216,7 +216,6 @@ answer = pycolmap.fundamental_matrix_estimation(
answer = pycolmap.homography_matrix_estimation(
points1,
points2,
[max_error_px], # optional RANSAC inlier threshold in pixels
[options], # optional dict or pycolmap.RANSACOptions
)
```
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "scikit_build_core.build"

[project]
name = "pycolmap"
version = "0.6.0"
version = "0.7.0-dev"
description="COLMAP bindings"
readme = "README.md"
authors = [
Expand Down

0 comments on commit 90ce2c5

Please sign in to comment.