From 90ce2c5185eef7169a9f872b96ee868a3ffc6ba2 Mon Sep 17 00:00:00 2001 From: Paul-Edouard Sarlin <15985472+sarlinpe@users.noreply.github.com> Date: Fri, 26 Jan 2024 09:43:55 +0100 Subject: [PATCH] Bump version to 0.7.0 (#251) * Bump version * Improve doc --- README.md | 11 +++++------ pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4f53bc0..9fa02fa 100644 --- a/README.md +++ b/README.md @@ -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 ``` @@ -14,11 +14,11 @@ The wheels are automatically built and pushed to [PyPI](https://pypi.org/project
[Building PyCOLMAP from source - click to expand] -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 ``` @@ -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 @@ -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, @@ -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 ) ``` diff --git a/pyproject.toml b/pyproject.toml index 7c00bac..a630db8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [