Hi,
I'm trying to get simultaneous video from two cameras with opencv using RB5 Vision Kit. I compiled opencv with LU with GStreamer support. I can make video from Opencv with GStreamer with the following commands.
Main Camera: cap.open("qtiqmmfsrc camera=0 name=qmmf ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! videoconvert ! appsink", cv::CAP_GSTREAMER);
Tracking Camera: cap.open("qtiqmmfsrc camera=1 ! video/x-raw, format=NV12, width=1280, height=720, framerate=30/1 ! videoconvert ! appsink", cv::CAP_GSTREAMER);
Can I get two videos simultaneously using Opencv and Camera HAL3 instead of GStreamer here?
HI,
Qualcomm's camera framework is not standard V4L2 framework and opencv can not be open directly. there are currently 2 suggestions:
1.Use QC's own CV library. FastCV is connected to Qualcomm's multimedia framework
2.Use Gstreamer to obtain camera data stream and develop a plug -in to call openCV library
thanks!