the continuous Auto focus seems to be broken now, could not get it to refocus at all, usually a light source can get it to re focus
Several people have reported this problem to me. Today, there are other tasks that have delayed the progress of the test. I will definitely test it tomorrow.
After version 0.0.10,we have updated the original controls with some changes.
We used a uniform parameter with different modes.
auto focus
libcamera-still -t 0 --afmode auto --autofocus
Continuous auto focus
libcamera-still -t 0 --afmode continuous --autofcous
Manual focus
libcamera-still -t 0 --afmode manual --manualfocus 500
keyboard control focus
libcamera-still -t 0 --afmode manual -k
We will update our doc with sync next week.
Have a nice day.
Iâm using picamera2 in python with video not cmdline for pictures:
picam2.set_controls({âAfTriggerâ:1})
Are you saying that youâve gotten this to work like it should:
picam2.set_controls({âAfModeContinuousâ:0})
Edit: Pipeline handler being used in another process camera will not initiate
Does not record, does not focus, does not autofocus
Try:
picam2.set_controls({âAfModeâ: 2})
That didnât work.
Same runtime error camera init sequence did not complete
Whatâs going on with this?
do you keep it up to date
python3 -m pip install picamera2 --upgrade
Check if the camera is enabled normally
dmesg | grep imx
ls /dev/video*
You canât open the camera now.
I remember you could use the camera normally before, did you do anything in between?
Had to start fresh from a new image but I just followed the arducam pdf and imported the same python script.
before arducam did the kernel update stuff I was getting video but no focus
after you guys fixed it Iâm getting neither
Try it again, then restart
./install_pivariety_pkgs.sh -p 64mp_pi_hawk_eye_kernel_driver
Recently, the Raspberry Pi has undergone several kernel updates, and it must be the same problem.
Okay redid everything again, got the camera working but the autofocus wasnât working until I changed my script to have:
picam2.set_controls({âAfModeâ: 2})
As per @AnotherDredd 's suggestion
@Edward wish you guys would get these commands straight, stick with them(or let people know)and add them to literature, it was supposed to be AFModeContinuous then it got changed to AFTrigger 0 that didnât work, to me letting you know AFTrigger 1 was the one that actually worked
and now its AFMode 2
@Edward Out of no where the camera is failing runtime error camera init sequence did not complete again
I havenât changed anything since it was working
Same issue
itâs like itâs messing up the python in thonny but is sort of working when I run the python as a autorun