Quantcast
Viewing all articles
Browse latest Browse all 4854

Camera board • Re: Could not set AF_TRIGGER - no AF algorithm

https://datasheets.raspberrypi.com/came ... manual.pdf
5.2.3. Setting the Lens Position Manually

To put the camera into manual mode and set the lens position to infinity:

Code:

from picamera2 import Picamera2from libcamera import controlspicam2 = Picamera2()picam2.start(show_preview=True)picam2.set_controls({"AfMode": controls.AfModeEnum.Manual, "LensPosition": 0.0})
That should be sensor (and lens) agnostic and so still work on IMX519.

There is nothing to "trigger" if in manual mode was my point, and a value of 3 is undefined. Where had you got that code from?

Statistics: Posted by 6by9 — Tue Mar 12, 2024 5:22 pm



Viewing all articles
Browse latest Browse all 4854

Trending Articles