raspicam icon indicating copy to clipboard operation
raspicam copied to clipboard

Missing Still functions:

Open jhihn opened this issue 3 years ago • 4 comments

    void RaspiCam_Still::setShutterSpeed(unsigned int ss) {
        _impl->setShutterSpeed(ss);
    }
    void RaspiCam_Still::setAWB_RB(float red_g, float blue_g) {
        _impl->setAWB_RB(red_g, blue_g);
    }

jhihn avatar Mar 15 '21 17:03 jhihn

I made an implementation of these functions. Based on my tests, it works as expected. I've just created a new pull request : https://github.com/rmsalinas/raspicam/pull/9

manalito avatar Mar 15 '21 17:03 manalito

This helps, but you only implemented the OpenCV side. Still, I was able yo follow your lead and get something working for Qt.

jhihn avatar Mar 16 '21 21:03 jhihn

This helps, but you only implemented the OpenCV side. Still, I was able yo follow your lead and get something working for Qt.

You can find here implementation of function on the C++ side : https://github.com/manalito/raspicam/commit/71ecf3a0f99eeb7b4a0961ee8bd336ca99aacd07

I didn't updated the pull request since I am not quiet satisfied yet about the implementation. It's working but it surely requires a refactor of the code to have the same effect with both OpenCV and C++ functions. I'll do it soon. Feel free to tell me any suggestions about the functions I wrote.

manalito avatar Mar 17 '21 22:03 manalito

Excellent, I will check it out tomorrow. Wishing you had a tip jar! 👍

jhihn avatar Mar 17 '21 23:03 jhihn