Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limited running time #710

Open
li779 opened this issue Oct 29, 2021 · 1 comment
Open

Limited running time #710

li779 opened this issue Oct 29, 2021 · 1 comment

Comments

@li779
Copy link

li779 commented Oct 29, 2021

In my program, picamera takes 20s to take a picture with exposure value of 6s. Any suggestions on why this happens and how we can improve the running time?
The camera I am using is in V1 mode and other parameters are following:
brightness 50
analog gain 1
color effect None
crop (0.0, 0.0, 1.0, 1.0)
digital gain 17/16
drc strength off
exposure compensation 0
denoising False
meter mode average
saturation 0
sharpness 0

@6by9
Copy link
Collaborator

6by9 commented Oct 30, 2021

This has been covered multiple times in the forums.

Any frame that is requested will be completed. On changing mode/starting the sensor the first frames after the switch is always dropped as it is incorrectly exposed.

With the normal mode of operation a preview frame is requested, first frame is dropped, second frame is captured to generate the preview frame, then the sensor changes mode for the capture, drops the next frame, and captures the second one. If the exposure time is 6 seconds, then each frame takes that long, and I'd expect 24s to complete.

Raspistill gained the option to start in burst mode (which bypasses the preview phase) IFF all parameters are specified manually. raspberrypi/userland@2fe4ca3
You can probably do a similar thing under Picamera.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants