https://github.com/aritrosaha10/mmalcamera
Library for using MMAL to control and show the camera.
https://github.com/aritrosaha10/mmalcamera
mmal raspberry-pi raspberry-pi-camera raspbian rpi
Last synced: 4 months ago
JSON representation
Library for using MMAL to control and show the camera.
- Host: GitHub
- URL: https://github.com/aritrosaha10/mmalcamera
- Owner: AritroSaha10
- License: bsd-3-clause
- Created: 2021-01-31T18:42:20.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-31T19:05:24.000Z (over 5 years ago)
- Last Synced: 2025-03-02T21:13:15.370Z (over 1 year ago)
- Topics: mmal, raspberry-pi, raspberry-pi-camera, raspbian, rpi
- Language: C++
- Homepage:
- Size: 10.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MMALCamera
C++ library for using MMAL (MultiMedia Abstraction Layer) to control a CSI camera on the Raspberry Pi.
## Current Features
- Show a fullscreen preview to the screen **solely** using the GPU
## Planned Features
- Fetching images
- Adjusting camera settings (ex. AWB, brightness, etc)
## Compilation and Execution
```
cmake .
make
./MMALCameraSample
```
## Usage as Library
Just import the two files `MMALCamera.cpp` and `MMALCamera.h` into your project and import it into your code using `#include "MMALCamera.h"`.
## Note
Since this uses VideoCore libraries that are only available on the RPi, it will likely be very difficult (if not impossible) to cross-compile from another machine.