2

我正在使用 OpenCv 2.4.3。我刚刚从他们的网站下载了它并使用了他们制作的版本。我不想自己从源头构建它。无论如何,在我的机器中,haar 分类器检测人脸的性能非常慢。在另一台机器上,我的朋友运行良好。(他在 cmake 中使用 TBB 和 IPP supprt 从源代码构建)。

虽然在发布中他们说:“MacOSX、iOS 和 Windows 上不再需要 TBB。顺便说一句,Windows 的二进制包现在是在不支持 TBB 的情况下构建的。Visual Studio 2010 的库和 DLL 使用并发框架。”

我对这些 TBB 和 IPP 了解不多。我唯一了解的是使这些东西可用将使多线程和并行性成为可能,从而加快我的程序。

我是否需要使用 cmake、TBB IPP bla bla 编译源代码……或者还有其他我遗漏的东西?有任何想法吗?

4

1 回答 1

0

What they say, is that they have the pre-built binaries compiled in a way that does not need TBB, because they use another concurrency framework. So if You don't want to meddle in the library's settings You can use the pre-built version without sacrificing performance. But that is on Windows, iOS and MacOS.

The performance might also depend on the machines parameters (You know, cascades are power hungry), so if Your friend has a stronger machine, he will probably get better results, and OS You are operating, but I cannot tell You which is the best, as I didn't try OpenCV on anything besides Linux.

于 2013-03-09T08:54:58.580 回答