Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5332

Camera board • Re: Advice required about broken pipe error on camera

$
0
0
Maybe move TheCamera.start() out of TimedImage(), and move it up to just after TheCamera.configure(camera_config)? It looks like your code might be calling start() each time an image is taken with no corresponding call to stop().

Alternatively, add TheCamera.stop() to the end of TimedImage().

These are both untried.

This is a nice script and shows a really good approach to the project. As someone who sees lots of sunrises and sunsets every day taken (mostly) on Raspberry Pi cameras, I like this.

Statistics: Posted by scruss — Sun Mar 17, 2024 4:09 pm



Viewing all articles
Browse latest Browse all 5332

Trending Articles