Closed Ara-O closed 11 months ago
I have the same question - did you figure this out? The report was closed but no solution was posted...
The code I am trying to translate is:
bio = io.BytesIO()
for foo in self.pi_camera.capture_continuous(bio, format='jpeg', use_video_port=True):
bio.seek(0)
chunk = bio.read()
bio.seek(0)
bio.truncate()
I'm surprised that such a basic feature is not replicated in picamera2 and barring that at least a workaround should be documented. How else are people supposed to update picamera code?
Any luck guys?
Up
I am trying to migrate from picamera to picamera2 and I have been struggling to translate this code to picamera2
-- using picamera
I want to update that to use picamera2.