caprica / picam

Unofficial Java API library for the Raspberry Pi camera.
GNU General Public License v3.0
49 stars 11 forks source link

Feature request: Support for libcamera-based stack? #28

Open ajsnarr98 opened 2 years ago

ajsnarr98 commented 2 years ago

On newer versions of raspbian the Raspicam camera stack is being replaced with the wholly open source libcamera-based stack. Would this library be willing/are there any plans to support that?

Also, on a similar vien, are there plans to support 64-bit raspbian. The shared library used by picam seems to be only working on 32-bit.

See these docs for details: (https://www.raspberrypi.com/documentation/accessories/camera.html)

caprica commented 2 years ago

See also https://github.com/caprica/picam-native/issues/4

I would love to, I despise MMAL and would dearly love to get rid of it, but I simply don't have any spare capacity in the short to medium term to do this.

ajsnarr98 commented 2 years ago

Thanks for replying! Also I don't keep up very much with new java releases, a new FFI sounds like would be really useful

caprica commented 2 years ago

If you read the linked issue on this topic, the latest comments describe how it seems libcamera isn't really a shared library that you can call from other languages, rather it seems to be a C++ library that you are supposed to compile against.

From what I could see, it lacks any extern "C" declarations that any FFI solution would need.

So at the moment, unless someone can say different, this looks like a non-starter.

ajsnarr98 commented 2 years ago

Putting any further comments in https://github.com/caprica/picam-native/issues/4