C++ Camera capture library for raspberry pi camera v2
raspivideocap was tested with the following environment
- Raspbian 9.6 + OpenCV 3.4.3
- Raspberry Pi OS Bullseye + OpenCV 4.6.0
- Follow the official installation instruction to install OpenCV 3.4+ from the source code
- Clone source code and install
> git clone https://github.com/coyote009/raspivideocap.git
> cd raspivideocap
> mkdir build
> cd build
> cmake ..
> make
> sudo make install
- Test
# Goto raspivideocap directory
> cd test
> mkdir build
> cd build
> cmake ..
> make
> ./test_raspivideocap