Open jonready opened 5 years ago
Did you happen to check the memory usage? What type of cameras are you using?
I am using two leopard imaging imx377 cameras. Memory usage is about 12%.
The script is just a wrapper around an OpenCV install. I'm not sure what the issue might be. Since I don't have the cameras, it's difficult to suggest a fix.
Please ask this question on the official NVIDIA Jetson forum where a large number of developers and NVIDIA engineers share their experience. Jetson TX2 forum: https://devtalk.nvidia.com/default/board/188/jetson-tx2/
I have asked my question there. But I had wondered if it might have been something related to OpenCV.
It could be. I would tend to be more suspicious of the the other players, ie imx377 drivers and GStreamer. Certainly it's worth checking with Leopard Imaging.
This library has worked great for single videocapture but when I try to do 2 at the same time eventually my jetson freezes and stops responding to mouse and keyboard inputs. I posted an example usage of videocapture.
cv::VideoCapture cap1(pipeline1, cv::CAP_GSTREAMER);