Ask Your Question

Face Detection using OCL module

asked 2013-05-16 22:33:48 -0600

Som gravatar image

I am trying to run the sample code facedetect.cpp that implements Viola Jones face detection algorithm using the OCL module so that it can take advantage of the GPU. But when i run the code in Visual Studio 2010, I get multiple errors stating " Unresolved external symbol int__cdecl cv::ocl::getDevice() ...". I used cmake to generate some files but what am I supposed to do with them?? Please help ... I am stuck very badly :(

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-05-17 01:11:08 -0600

When running CMAKE, you should check of the OCL module. It's not a standard compiled module, just like GPU functionality. Guess you will need to built the binaries first then make sure that you have included all linker folders and linker libraries as additional project folders.

edit flag offensive delete link more

Question Tools


Asked: 2013-05-16 22:33:48 -0600

Seen: 390 times

Last updated: May 17 '13