If ``threads == 0``, OpenCV will disable threading optimizations and run all it's functions sequentially.