I am having a problem where the 64mp Hawkeye camera will not fully autofocus.
It will rapidly move to an incorrect position usually about a dioptre off, even if i have it starting at a lensposition very close to the correct focus.
Note: if I run something like
hello_command = ["libcamera-hello","--analoggain", "1", "--info-text", "'lens %lp' 'shutter %exp' 'analogue gain %ag", "-t", "0","--vflip" ]
I get a libcamera window that focuses totally correctly.
but if I try to focus with picamera2, i get something like 6.8 when it should be 7.7 and the images all are blurry
you can see more details of the dicussion we had. For a couple hours today I even had it all fully working, but it stopped working after just a computer restart.
opened 08:14PM - 12 Jun 24 UTC
**Please only include one suggestion or features request per issue!**
I use the… big clunky 64mp cameras for taking photos of insects on a screen 30cm away. the 64mp camera takes like 50-90 seconds to do a real decent autofocus

im using this code from @davidplowman to focus it and monitor its progress https://github.com/raspberrypi/picamera2/issues/670
and sometimes it will jump right to like 4.5 or something (i generally want something around 7.6 for the lensposition)
but then it will drop back to 0 and slowly increment and bounce around until it starts going between 7 and 8
**Describe the solution you'd like**
It would be great if i could "seed" the autofocus with a value for it to start working from. or if i could even just give the autofocus a range to stay between. I feel that could speed things immensely.
**Describe alternatives you've considered**
I tried using the AFRange, but it doesn't seem to have much, if any, effect on my focusing
We need speed for our focusing because we have to have bright lights on in the rainforest during the focus cycle and that eats batteries.
henri
June 14, 2024, 10:33am
2
a suggestion - look at libcamera-hello source code and set the same camera controls parameters in python that u set with that libcamera-hello command
The solution is @JakeBrowning 's manual fixing of Arducam’s files
The installation script cannot work.
For example,
Line 87: BOOTCONFIG="/boot/config.txt"
In bookworm, configuration file is set at /boot/firmware/config.txt…
Seems totally wrong for me.
I’ve made the following installation script but it still does not work for last kernel versions (above 6.6.28) as there is no release in 64mp_pi_hawk_eye_kernel_driver_links.txt.
First, I needed to downgrade my kernel to 6.6.28:
sudo rpi-update 1a47eacfe05acf3a7c1d8602c28c0ad2b4ffd315
sudo reboot
Connect …
cmon arducam, these typos feel very sloppy for products you are selling people