New (NPU) Vim4 low latency camera access

Which version of system do you use? Khadas official images, self built images, or others?

Ubuntu 5.25.137 Server

Please describe your issue below:

We would like the lowest possible latency access to the MIPI camera.
It looks like the gstreamer solution on docs.khadas.com involves some subprocess that move the frames into gstreamer.
We would like to access them directly (e.g. just read a frame from /dev/video0 ).

Is there a device or API that will allow us to do that ?

Is the code for camsrc.c and camctrl.cc utilities available somewhere ?

Thanks.

Yes, please check here:

https://docs.khadas.com/products/sbc/vim4/add-ons/new-vim4-mipi-camera#get-frames-via-mediactl-api