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

Camera board • Image capture never completes, never errors...

$
0
0
I am trying to run this Python code snippet that utilizes the picamera2 library:

Code:

console.info('Starting capture of ' + str(filepath) + ' ...')request = camera.switch_mode_and_capture_request('still')request.save('main', filePath)console.info('Completed capture of ' + str(filepath) + ' ...') 
I see the following output to the console:

INFO: Starting capture of /home/pi/dcim/20240120/00000001.jpg ...

But the second console line never arrives...

What am I missing here? Probably something completely obvious.

Statistics: Posted by eat-sleep-code — Sun Jan 21, 2024 2:53 am — Replies 0 — Views 95



Viewing all articles
Browse latest Browse all 4615

Trending Articles