Ask Your Question

Steffi's profile - activity

2016-06-22 08:20:43 -0600 received badge  Enthusiast
2016-06-13 16:20:14 -0600 asked a question Error at Position, can not access at face detection sample

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?