I am trying to run this Python code snippet that utilizes the picamera2 library:
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.
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) + ' ...')
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