When running python capture_demo.py I get the following error:
[email protected]:~/libcamera-python $ python capture_demo.py
[1:35:27.317544971]  WARN IPAManager ipa_manager.cpp:149 No IPA found in '/usr/local/lib/arm-linux-gnueabihf/libcamera'
[1:35:27.317847593]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0
Hi, I’ve got the auto focus camera following the setup steps for that I can take photos with libcamera-still.
However what I’m trying to do it take a series of photos and programatically adjust the focus inbetween shots. The plan is that I’ll then use the resulting pics for focus stacking. I’d like to take the photos with as short a delay between them as possible.
When I try to use this wrapper, I get nowhere. If I install the other driver with shared in your instructions above, I can’t take photos at all, not even with the command line. Are the 2 compatible? Any suggestions on what I’m doing wrong?
[1:15:41.023748100]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0
[1:15:41.071529856]  WARN CameraSensorProperties camera_sensor_properties.cpp:141 No static properties available for 'imx519'
[1:15:41.071723084]  WARN CameraSensorProperties camera_sensor_properties.cpp:143 Please consider updating the camera sensor properties database
[1:15:41.071872875]  ERROR CameraSensor camera_sensor.cpp:551 'imx519 10-001a': Camera sensor does not support test pattern modes.
[1:15:41.152602689]  WARN RPI raspberrypi.cpp:1233 Mismatch between Unicam and CamHelper for embedded data usage!
[1:15:41.153874663]  ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[1:15:41.154786223]  INFO RPI raspberrypi.cpp:1356 Registered camera /base/soc/i2c0mux/[email protected]/[email protected] to Unicam device /dev/media3 and ISP device /dev/media0
[1:15:41.159699955]  INFO Camera camera.cpp:1028 configuring streams: (0) 5344x4012-RGB888
[1:15:41.160920055]  INFO RPI raspberrypi.cpp:751 Sensor: /base/soc/i2c0mux/[email protected]/[email protected] - Selected sensor format: 4656x3496-SRGGB10_1X10 - Selected unicam format: 4656x3496-pRAA
But I’ll have a look at it tomorrow.
It looks like data.imageData gets the image, how do I save that to a file? what format is it? JPG? RAW?
Hello @yang and the support team. Thank you for this thread. I was able to finally get libcamera and the python wrapper working with your demo python files (full_resolution_demo.py, capture_demo.py, and controls_demo.py). I’ve been making a few alterations, but what I don’t see is any command to tell the imx519 to autofocus. Is there a set command I can send to it that tells it to autofocus, or is there code somewhere I can see how to make it autofocus?
Hello @yang and support team. Thank you for the autofocus code, that will be very helpful once this camera is up and running. And I really want to get this working because I am very interested in upgrading to Hawk-eye if possible (I have already pre-ordered one).
I believe I have followed all the installation instructions to the letter, but still I am unable to get the demo apps to run. I can run libcamera-hello and other libcamera options, but this is what I am currently getting when I try and run your full_resolution_demo.py and other demos from inside libcamera_python:
[0:04:05.503064666]  WARN IPAManager ipa_manager.cpp:149 No IPA found in ‘/usr/local/lib/arm-linux-gnueabihf/libcamera’
[0:04:05.503308774]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0
[0:04:05.531612151]  WARN CameraSensorProperties camera_sensor_properties.cpp:141 No static properties available for ‘imx519’
[0:04:05.531704299]  WARN CameraSensorProperties camera_sensor_properties.cpp:143 Please consider updating the camera sensor properties database
[0:04:05.531967018]  ERROR RPI raspberrypi.cpp:1030 Failed to load a suitable IPA library