Is there a way to disable TBB in openCV?

一曲冷凌霜 提交于 2019-12-11 01:12:08

问题


The C-code(using openCV) I have seems to use TBB and I want to compare the performance with the one that does not use TBB.

Is there a way to disable TBB?


回答1:


Try setNumThreads(0), or for a more thorough solution, try recompiling the libraries as described here.



来源:https://stackoverflow.com/questions/18478159/is-there-a-way-to-disable-tbb-in-opencv

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!