I did a fresh install and followed the guide and then when i try running the example i get this :- python3 capture_demo.py
[0:03:13.476992651] [1167] WARN IPAManager ipa_manager.cpp:149 No IPA found in ‘/usr/local/lib/arm-linux-gnueabihf/libcamera’
[0:03:13.477407651] [1167] INFO Camera camera_manager.cpp:293 libcamera v0.0.0
Segmentation fault
Regarding the libcamera python library incompatibility with libcamera-dev 0.0.7 version, we have found the problem and solved it.
We updated the version number of the libcamera python library to 1.0.3. This version only supports Bullseye Raspberry Pi systems with kernel version greater than or equal to 5.10.92.
I did fresh install and did eveything again and its working now.
Now my question is, once in Python and you run “cam.set(libcamera.AfTrigger, 1)” to auto focus.
how do you wait for the auto focus to finish before you can take a picture ?
What I want to do, is use the autofocus (as above) then once it’s focused on the person/object take a picture.
You can’t sent it to take a picture straight after as the autofocus is still adjusting, and adding a pause also doesn’t work.
How can I achieve this ? Any ideas ?
Hi,
Once the libcamera is initialized only set() can be seen. For one of the post where one link was shared shared for controls, is there any plans to share some some sort of query or get calls with the libcamera python package? Or is there anyway to query the camera properties once it is started with