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

asked Sep 18 '14

xizhehaitang gravatar image

updated Sep 18 '14

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!

Frank

Preview: (hide)