Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv_objdetect300.dll - Access violation reading location

Hi everyone!

I tried to run Haar-like feature detection example code (http://docs.opencv.org/trunk/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html#cascade-classifier). I have modified it a little bit (I changed the image source from video to static image) and succesfully built it (both in release and debug). Program starts properly, image is beeing read and then, while processing, error occures:

Unhandled exception at 0x000007FEF2622C1B (opencv_objdetect300.dll) in Project1.exe: 0xC0000005: Access violation reading location 0xFFFFFFFEF35FC3B8

Program breaks inside following function in cascadedetect.hpp header file:

inline float HaarEvaluator::OptFeature :: calc( const int* ptr ) const

I use Visual Studio 2012 PRO on Windows 7 x64. Opencv 3.00 has been built from source.

May anyone help me? Thanks in advance!