https://github.com/photonvision/photon-picam-driver
Driver for the raspberry Pi camera. This driver provides access to the Pi camera through MMAL and allows OpenGL to directly access the camera.
https://github.com/photonvision/photon-picam-driver
computer-vision raspberry-pi
Last synced: 10 months ago
JSON representation
Driver for the raspberry Pi camera. This driver provides access to the Pi camera through MMAL and allows OpenGL to directly access the camera.
- Host: GitHub
- URL: https://github.com/photonvision/photon-picam-driver
- Owner: PhotonVision
- License: gpl-3.0
- Created: 2020-07-20T20:29:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-24T07:10:52.000Z (about 2 years ago)
- Last Synced: 2024-01-24T08:28:04.388Z (about 2 years ago)
- Topics: computer-vision, raspberry-pi
- Language: C
- Homepage:
- Size: 3.43 MB
- Stars: 4
- Watchers: 11
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# photon-picam-driver
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.)
## Installation
1. Clone this repo in `/opt/vc/src/hello_pi/`.
2. Run `/opt/vc/src/hello_pi/rebuild.sh`.
3. Run `sudo apt install libopencv-core-dev`.
4. Run `sudo raspi-config` and install and enable the legacy OpenGL driver.
4. 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.)
## Contribution
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.