Ask Your Question

Revision history [back]

Increasing FPS on 2 USB cams streaming at the same time w/ Jetson Nano

I have 2 USB cams (260FPS, 640*360) in an Nvidia Jetson Nano. Using multithreading in Python I can get them both to stream/write MJPEG .avi files at ~60FPS at the same time. Or if I only use 1 camera at a time I can use multithreading in a different way (like this: https://www.pyimagesearch.com/2015/12/21/increasing-webcam-fps-with-python-and-opencv/), and get ~115FPS. The problem is that I need to have both 2 cams and >100FPS. Is there a proven way to do this? It would be great if someone could share code.

I tried using multiprocessing and then opening up 2 threads in each process but got a segfault. I'm not sure if this is even a feasible solution to begin with.

Any help would be greatly appreciated!