Ask Your Question
1

Tips on how to build opencv 2.4.3 (VC10)

asked 2012-12-14 02:48:09 -0500

tmanthey gravatar image

The release notes state:

"Much better performance on many-core systems out of the box. You do not need TBB anymore on MacOSX, iOS and Windows. BTW, the binary package for Windows is now built without TBB support. Libraries and DLLs for Visual Studio 2010 use the Concurrency framework."

My aim is to run opencv_traincascade on a multi-core machine on Windows 7/VC10. I built OpenCV 2.4.3 without TBB on my machine with VC10. But when I run it it seems using only a single core.

How to I build with "Concurrency Framework" or do I have to still use TBB for train_cascade? CMake offers still the build option "with TBB" but no entry to specify the TBB file location.

tia

edit retag flag offensive close merge delete

Comments

Same with cvHaarDetectObjects, it is much slower in 2.4.3 on windows 8 Core i7. Somehow concurrency does not work out of the box.

Edit: just checked the mingw version of 2.4.3 and it works fine. It seems this is only when using the vs10 precompiled binaries.

Abai gravatar imageAbai ( 2012-12-17 10:19:21 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-12-14 07:47:50 -0500

ubehagelig gravatar image
edit flag offensive delete link more

Comments

Opencv No longer needs TBB on windows it uses concurrency framework. Or at least the pre-built dlls do- there is no info on how to enable it, or if you have to

mgb gravatar imagemgb ( 2013-02-01 23:42:27 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-12-14 02:48:09 -0500

Seen: 901 times

Last updated: Dec 14 '12