M0025-1 Hires Camera capture with opencv
i want to integrate the https://docs.modalai.com/M0025/ Camera from you in my application. I'm currently using opencv to capture video frames.
Is it required that i use the hal3 module used in https://gitlab.com/voxl-public/voxl-sdk/services/voxl-camera-server/-/tree/master/ ?
If yes wich libraries do i have to link to my application in order to use the hal3 module ?
And can i build these on my own or are these built alongside the system-image ?
Platform: Voxl 1 ap8096
No, you'll need to use voxl-camera-server which is why voxl-camera-server exists. You can develop a client that uses the simple camera helper to receive hires preview frames which are in the NV12 format. You should be able to use OpenCV to convert NV12 to RGB and continue processing as normal from there.
A google search revealed this as a possible solution https://envyen.com/posts/2020-12-11-opencv-yuv-nv12-to-bgr-conversion/
Thanks for the fast reply
@Chad-Sweet what is the reason for using Gralloc allocator on apq8096 for buffer allocation instead of ION memory allocator used in the qrb5165 implementation ?