@dcz announced libobscura, a new library for interfacing with cameras here: https://dorotac.eu/posts/libobscura/
For those that want to see the code, it is written primarily in Rust: https://codeberg.org/libobscura/libobscura
What does “friendly” mean?
- It’s hard to use it wrong. No segfaults. Errors guide you to the right track.
- Point-and-shoot. If that’s all you need, you get a RGB buffer in ten lines of code.
- It’s easy to add support for new devices. Great documentation and a good internal API are the goals.
- It’s easy to contribute to. Send patches using the web interface, not a mailing list.
## Status
Because libobscura is only two months old as a funded project, the current status is “proof of concept”.
[…]
But there are still goals to achieve:
[…]
- add Librem 5 support as a realistic, useful verification of concept.
Yes, Dorota also worked on libcamera, however, they are excited about libobscura being a better solution for everyone.
There is a lot more in the blog post so please give it a read!