Ask Your Question

How can I adjust shutter speed of a raspberry pi camera using OpenCV?

asked 2018-10-03 04:39:54 -0500

I need to take pictures of laser light and process the pictures to crate sensing system of actuator. So I thought that I can take noiseless pictures of laser light by setting shutter speed higher.

After that, I confirm I can take noiseless pictures in high-speed shutter, but I don't know how to adjust shutter speed using OpenCV.

Can any one tell me the solution strategy?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-10-03 14:59:59 -0500

kbarni gravatar image

updated 2018-10-03 15:06:20 -0500

OpenCV uses the V4L driver for camera control, and I'm not sure that these advanced features have been implemented in the Raspberry Pi camera V4L driver.

I recommend using the picamera Python package, it supports very advanced features for the Raspberry Pi camera (shutter speed, ISO, frame rate etc...)

BTW, as a general rule: if you can't use some advanced feature of a camera in OpenCV, it's the best to use the official SDK/camera driver and convert the captured frame to OpenCV Mat.

Same for exotic image formats, like multichannel or multipage TIF files.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-10-03 04:39:54 -0500

Seen: 345 times

Last updated: Oct 03 '18