Error at Position, can not access at face detection sample

asked 2016-06-13 15:08:47 -0500

Steffi gravatar image

I am trying to run a simple face detection code to get started in OpenCV. I use Visual Studio 2015 Enterprise and have the latest version of OpenCV (I think, it's 3.10) on a Windows 64bit Platform.

I tried to use the face detection sample that was already given by OpenCV, but it is not working. It gives me this error: Ausnahmefehler bei 0x00007FF9F0B0F38C (igdrcl64.dll) in ConsoleApplication4.exe: 0xC0000005: Zugriffsverletzung beim Schreiben an Position 0x000000B300000142 It means that there is an exception error in the Application. Hurt Access when writing in the position

The error occurs here: nestedCascade.detectMultiScale(smallImgROI, nestedObjects, 1.1, 2, 0 //|CASCADE_FIND_BIGGEST_OBJECT //|CASCADE_DO_ROUGH_SEARCH //|CASCADE_DO_CANNY_PRUNING | CASCADE_SCALE_IMAGE, Size(30, 30));

Though the xml-file loaded correctly and the webcam is accessible. I checked both. What am I doing wrong?

edit retag flag offensive close merge delete