From 0d265d5b8c338921b6b5eea93ce8c159ea0144d1 Mon Sep 17 00:00:00 2001 From: Paul-Edouard Sarlin Date: Tue, 23 Jan 2024 16:26:41 +0100 Subject: [PATCH] Release the gil --- pycolmap/estimators/two_view_geometry.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pycolmap/estimators/two_view_geometry.h b/pycolmap/estimators/two_view_geometry.h index 33c5ee7..c168d22 100644 --- a/pycolmap/estimators/two_view_geometry.h +++ b/pycolmap/estimators/two_view_geometry.h @@ -176,5 +176,6 @@ void BindTwoViewGeometryEstimator(py::module& m) { "points2D2"_a, "E"_a, "Calculate the squared Sampson error for a given essential or " - "fundamental matrix."); + "fundamental matrix.", + py::call_guard()); }