Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Control VideoCapture Multithreading

$
0
0
Is there a way to limit the number of threads (or even just cpu cores) that VideoCapture().read() can use? I am processing h264 encoded videos in a parallelized program and want to be able to control how much system resources my calls to VideoCapture().read() use. It's running on a shared server and to stay friends with my peers, I need to avoid hogging cpus. I'm running OpenCV 3.1.0 with Python 3 bindings on a Debian machine

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>