https://github.com/robidouille/robidoui ... aspicam_cv
When camera parameters are set to default especially awb mode and exposure mode
(default is MMAL_PARAM_AWBMODE_AUTO and MMAL_PARAM_EXPOSUREMODE_AUTO) everything works great.
But when i set exposure to off mode ( MMAL_PARAM_EXPOSUREMODE_OFF) camera shows nothing but a blank screen.
If i set modes other than this it works fine.
I have checked by varying shutter speed from auto to some fixed value(from 1 ms to 100 ms) but still camera shows blank.
I am using this library in qt.
Bellow are the changes i have made in "RaspiCamCv.c" file of above library.
Basically i want to turn off the exposure and awb mode.
Code: Select all
// Set up the camera_parameters to default raspicamcontrol_set_defaults(&state->camera_parameters); state->camera_parameters.ISO = 400; // 0 = auto state->camera_parameters.exposureMode = MMAL_PARAM_EXPOSUREMODE_OFF; state->camera_parameters.awbMode = MMAL_PARAM_AWBMODE_OFF; state->camera_parameters.shutter_speed = 100;
Is there anything i am missing ?
Which other parameter i need to set/change in order to work camera in exposure off mode.