Look like it's impossible now due to 4CSI/MIPI line nature of 4MP cameras, while Rk3399 itself have only 6 CSI lines(
info from another board).
probably, if you manage to configure cameras with only 2 CSI/MIPI per camera, it would be possible to use two of them simultaneously with follow code
Code: Select all
cv::VideoCapture capture(" rkisp device=/dev/video0 sensor-id=1 io-mode=4 path-iqf=/etc/cam_iq/rk-ov4689.xml ! video/x-raw,format=NV12,width=672,height=380,framerate=30/1 ! videoconvert ! appsink", cv::CAP_GSTREAMER);
cv::VideoCapture capture2(" rkisp device=/dev/video4 sensor-id=5 io-mode=4 path-iqf=/etc/cam_iq/rk-ov4689.xml ! video/x-raw,format=NV12,width=672,height=380,framerate=30/1 ! videoconvert ! appsink", cv::CAP_GSTREAMER);
PS: Raspberry PI stereo-camera setup use 2x2CSI lines config(but all RPi cameras use 2CSI line mode only)