how to use multi-thread in ocl face detect sample in ubuntu 14.04

asked 2014-09-18 00:15:34 -0600

xizhehaitang gravatar image

updated 2014-09-18 00:16:34 -0600

Hello everyone, We are trying to test facedetect.cpp sample in opencv-2.4.9/samples/ocl in ubuntu 14.04 with nvidia gt630. But we found that we can not use multi-thread option. And we noted that in source file, there is '#if defined(_MSC_VER) && (_MSC_VER >= 1700) # include <thread> #endif' Is this means only in VS of windows OS can include thread file and use multi-thread option? We are confused what we should do to compile(g++) with thread and run the facedetect.cpp in ubuntu OS.Could anyone can help us? Thank you!


edit retag flag offensive close merge delete