libcamera/subprojects
Tomi Valkeinen 8aa02271fd Add Python bindings
Add libcamera Python bindings. pybind11 is used to generate the C++ <->
Python layer.

We use pybind11 'smart_holder' version to avoid issues with private
destructors and shared_ptr. There is also an alternative solution here:

https://github.com/pybind/pybind11/pull/2067

Only a subset of libcamera classes are exposed. Implementing and testing
the wrapper classes is challenging, and as such only classes that I have
needed have been added so far.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2022-05-10 13:53:43 +02:00
..
packagefiles/pybind11 Add Python bindings 2022-05-10 13:53:43 +02:00
.gitignore Add Python bindings 2022-05-10 13:53:43 +02:00
gtest.wrap lc-compliance: Build with gtest in subprojects 2021-11-15 10:04:10 +00:00
libyuv.wrap subprojects: Add libyuv and built if -Dandroid=enabled 2021-02-04 05:03:53 +02:00
pybind11.wrap Add Python bindings 2022-05-10 13:53:43 +02:00