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

Camera board • Re: Dead lock on ScalerCrop control with Picamera2

$
0
0
Hi again, yes, you have to use either

Code:

with camera.controls as controls:   # ...
or

Code:

camera.set_controls(...)
but you can't put the latter inside the former because they will fight over access to internal data structures. The intention is really that you do it one way or the other (I prefer "set_controls", but that's just me). If that's a problem that you can't work around, please let us know.

Statistics: Posted by therealdavidp — Wed Aug 07, 2024 3:29 pm



Viewing all articles
Browse latest Browse all 4799

Trending Articles