laurentkneip / opengv

OpenGV is a collection of computer vision methods for solving geometric vision problems. It is hosted and maintained by the Mobile Perception Lab of ShanghaiTech.
Other
1.02k stars 353 forks source link

Use pybind11 instead of boost python #79

Closed paulinus closed 5 years ago

paulinus commented 5 years ago

This PR updates the python wrappers to use pybind11 instead of boost python.

Boost python wrappers have been difficult to maintain for different versions of boost and python. Pybind11 works with all python versions and is included as a submodule to make sure everyone uses the same version.

The changes are similar to https://github.com/laurentkneip/opengv/pull/69 but use more of pybind11 build-in functionality and completely drop the boost python option so that there is only one wrapper.