I am using "Raspicam" (https://www.raspberrypi.org/documentation/hardware/camera.md) for a robotics project, where I need to get as many images as possible in 1 seconds.
Camera works perfectly fine when I use it at stationary mode. However, everything appear quite dark when I switch it to 90fps, 320x240.
At the end, I will be processing the image, so low resolution is not a problem, its actually an advantage for me. However I can't compromise the quality of colors, since entire processing will depend on that.
I have following properties to adjust:
- CV_CAP_PROP_BRIGHTNESS: [0,100]
left this at automatic mode -1
- CV_CAP_PROP_CONTRAST: [0,100]
left this at automatic mode -1 as well
- CV_CAP_PROP_SATURATION: [0,100]
- CV_CAP_PROP_GAIN: (iso): [0,100]
- CV_CAP_PROP_EXPOSURE: -1 auto. [1,100] shutter speed from 0 to 33ms
- CV_CAP_PROP_WHITE_BALANCE_RED_V : [1,100] -1 auto whitebalance
left it at automatic mode (anything nonzero messed the image up for some reason)
- CV_CAP_PROP_WHITE_BALANCE_BLUE_U : [1,100] -1 auto whitebalance
left it at automatic mode
Is there a way to improve the quality of the images I get at 90fps using those values? What might be causing the darkness of my image?
Here is the image I have at 90 fps:
Here is the image I have in stationary mode (resolution is higher in this one, I just uploaded it to show what actual colors were supposed to look like):