Driver for the raspberry Pi camera. This driver provides access to the Pi camera through MMAL and allows OpenGL to directly access the camera. This is only supported on Raspberry Pi 3-based systems (e.g Pi 3 Model B, CM 3.)
- Clone this repo in
/opt/vc/src/hello_pi/
. - Run
/opt/vc/src/hello_pi/rebuild.sh
. - Run
sudo apt install libopencv-core-dev
. - Run
sudo raspi-config
and install and enable the legacy OpenGL driver. - Run
make
in the top level directory (/opt/vc/src/hello_pi/photon-picam-driver
) of this project (you may want to pass-j
flags.)
Please use clang-format
and with the "llvm" style before you PR your code. You can run clang-format -i -style=llvm *.cpp *.hpp *.c *.h
to format all files in the project.