alicevision / AliceVision

Photogrammetric Computer Vision Framework
http://alicevision.org
Other
2.89k stars 806 forks source link

SwigBinding: Extend the binding of `camera` and add initial binding for other modules #1674

Closed cbentejac closed 3 months ago

cbentejac commented 4 months ago

Description

This PR extends the SWIG binding for the camera module by covering all the classes that are related to intrinsics and distortion/undistortion models. The inheritance relationships are preserved and binded as well. Unit tests in Python for a wide range of the usable methods (functions that do not use Eigen objects or any other unbinded objects) are added.

Initial bindings for the geometry and stl modules are introduced. These bindings are not exhaustive yet and do not allow a correct interaction through the Python interface, so there is no corresponding unit test for now.

Additionally, the following minor modifications are done:

Relates to https://github.com/alicevision/QtAliceVision/pull/68.

Features list