树莓派官方摄像头可以通过opencv实现binning模式吗?

菜鸟 15cm2019-11-0841 次点击

树莓派官方摄像头可以通过picamera库中sensor_mode参数实现binning模式,请问可以通过opencv库来实现binning模式吗?因为picamera库好像只有python才有,我想通过C++来实现

收藏 ♥ 感谢
Spoony 小组长 2019-11-08 
raspicam 这个库是基于 C++ 的。
https://sourceforge.net/projects/raspicam/files/

* Main features:
- Provides class RaspiCam for easy and full control of the camera
- Provides class RaspiCam_Cv for easy control of the camera with OpenCV.
- Provides class RaspiCam_Still and RaspiCam_Still_Cv for controlling the camera in still mode
- Easy compilation/installation using cmake.
- No need to install development file of userland. Implementation is hidden.
- Many examples

能不能实现 binning 需要研究下。

登录注册 后可回复。