LCCV
LCCV copied to clipboard
LibCamera wrapper library for OpenCV
Hi, I am making a simple ROS wrapper for the libcamera to grab images from the Raspberry Pi HQ camera and publish them as in a ROS topic. I attempted...
Trying to perform make and get the following error: In file included from /home/pi/cpp-projects/LCCV/include/lccv.hpp:9, from /home/pi/cpp-projects/LCCV/src/lccv.cpp:1: /home/pi/cpp-projects/LCCV/include/libcamera_app.hpp:53:33: error: ‘StreamRoles’ in namespace ‘libcamera’ does not name a type; did you mean...
Hi, after compiling and installing the library, I cannot execute any app that links LCCV, not even the examples. It says: `error while loading shared libraries: liblccv.so: cannot open shared...
This is the commit that broke it I think: https://github.com/raspberrypi/libcamera/commit/26a4b83d1b9443795dbcb21fa6c23117f113216a I solved it locally by replacing `using StreamRoles = libcamera::StreamRoles;` with `using StreamRoles = std::vector;`.
how to set pi camera's highest resolution automatically? Thank you.
After running `rpi-update`, installing dependencies for LCCV and compiling it fails with this: ``` In file included from /home/pi/LCCV/include/lccv.hpp:9, from /home/pi/LCCV/src/lccv.cpp:1: /home/pi/LCCV/include/libcamera_app.hpp: In constructor ‘FrameInfo::FrameInfo(libcamera::ControlList&)’: /home/pi/LCCV/include/libcamera_app.hpp:194:20: error: invalid type argument...
Hello, I am getting weird error when i try to run LCCV in my project. undefined symbol: _ZNK9libcamera11FrameBuffer6planesEv I think i fails after camera streams configuration done. In libcamera_app.cpp line...
A couple more questions, as there's no direct discussions form here: - libcamera bindings to OpenCV are not specific to Raspberry Pi. This will work on any libcamera supported platform,...
At : https://github.com/kbarni/LCCV/blob/main/src/lccv.cpp#L190, there is a memcpy of the captured image into a new buffer. Can OpenCV be given the buffer directly? memcpy on image buffers should be avoided, and...
In code you have: ``` enum Metering_Modes { METERING_CENTRE = libcamera::controls::MeteringCentreWeighted, METERING_SPOT = libcamera::controls::MeteringSpot, METERING_MATRIX = libcamera::controls::MeteringMatrix, METERING_CUSTOM = libcamera::controls::MeteringCustom }; ``` But there's no option to specify position for...