Faster image reading with OV9281


I am using an arducam OV9281 with the Arducam_Mipi drivers but reading a frame is slow.

  1. Where did you get the camera module(s)?

  2. Model number of the product(s)?

  3. What hardware/platform were you working on?
    Raspberry Pi 4b 8GB

  4. Instructions you have followed. (link/manual/etc.)

  5. Problems you were having?
    Reading an image from the camera works but it is too slow for our application (30 ms per frame) using the arducam_capture function.

  6. The dmesg log from your hardware?
    No hardware issues, only software

  7. Troubleshooting attempts you’ve made?
    Compared the speed output with the yavta application which is much faster (5 ms).

  8. What help do you need?
    A solution to have faster image reading using the arducam_mipi api.

I wonder if arducam_capture is slow in comparison to yavta because it reallocates memory on every frame capture.