Conversation

🐱 🎉 @libcamera side AutoFocus
Thanks to @pavel , people who made those changes https://gitlab.com/tui/libcamera/-/commits/l5 and others!

Will publish my tree tomorrow

3
3
3
@NekoCWD @libcamera I see the behaviour is very different from Librem 5. It is good to see another phone working.
1
0
0

@pavel @libcamera That's because I'm using different sharpness algo and different focus sweep algo. I've ported it from my external app

0
0
1

@pi_crew @libcamera @pavel That's OnePlus 6 (oneplus-enchilada) running postmarketOS

1
0
0

@NekoCWD @libcamera @pavel Ooh very cool, will this get merged into upstream libcamera as well? Or is it just the fork by `tui`?

1
0
0

@NekoCWD @libcamera @pavel Very nice. How can I install your fork, for now, so I can get autofocus?

1
0
0

@QuadRadical @libcamera @pavel
https://git.nekocwd.duckdns.org/Administration/Documentation/src/branch/master/install-nightly-repo.md

and than
```
sudo apk add libcamera@nightly libcamera-ipa@nightly
```

But you need to trigger AF somehow. I'm using
```
wpctl status
```
There will be strings like
```
├─ Sources:
│ 60. Built-in Back Camera
│ * 62. Built-in Front Camera

```
And than
```
pw-cli set-param <cam-id> Props '{ 0x01000026 = 1 }'
```

2
0
1

@NekoCWD @libcamera @pavel Interesting, thanks! Maybe I'll wait until support is in snapshot, rather than me having to run a command to autofocus.

0
0
0
@NekoCWD @QuadRadical @libcamera That's back camera on OnePlus 6? Nice! I guess autofocus should be on by default for most cameras. (But different af implementation is suitable for still photos and for video capture, in some cases; video one is probably suitable default).
0
0
2